Class WebcasterErrorAbstract

Main Webcaster Error which is thrown by any component of the SDK. Not used directly, but extended by more specific error types.

Hierarchy

Constructors

  • Parameters

    • message: string
    • _code: number
    • Optional _metadata: unknown

    Returns WebcasterError

Properties

cause?: unknown
message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Accessors

  • get code(): number
  • Returns number

Methods

  • Returns string

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc