Class TpError<E>

Type Parameters

  • E = any

Hierarchy

  • Error
    • TpError

Constructors

Properties

cause?: unknown
code: string | number
detail?: object
jsonify_fields: (keyof TpError<E>)[] = ...
message: string
msg: string
name: string
origin?: E
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