Interface RavenStatic

Index

Properties

Methods

Properties

public VERSION: string

Raven.js version.

Methods

public afterLoad()

public captureException(ex: Error, options?: RavenOptions): RavenStatic

Parameters

Returns

RavenStatic

public captureMessage(msg: string, options?: RavenOptions): RavenStatic

Parameters

Returns

RavenStatic

public config(dsn: string, options?: RavenOptions): RavenStatic

Parameters

Returns

RavenStatic

public context(func: Function, args?: Array<any>)

Parameters

  • func: Function
  • args?: Array<any> optional

public context(options: RavenOptions, func: Function, args?: Array<any>)

Parameters

  • options: RavenOptions
  • func: Function
  • args?: Array<any> optional

public install(): RavenStatic

Returns

RavenStatic

public noConflict(): RavenStatic

Returns

RavenStatic

public setUser(user?: any): RavenStatic

Parameters

  • user?: any optional

Returns

RavenStatic

public uninstall(): RavenStatic

Returns

RavenStatic

public wrap(func: Function): Function

Parameters

  • func: Function

Returns

Function

public wrap(options: RavenOptions, func: Function): Function

Parameters

Returns

Function