Class ScuteError

Hierarchy

Constructors

  • Parameters

    • __namedParameters: {
          cause?: Error;
          code?: string | number;
          message: string;
          name?: string;
      }
      • Optional cause?: Error
      • Optional code?: string | number
      • message: string
      • Optional name?: string

    Returns ScuteError

Properties

cause?: Error
code?: string | number
message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc