This catch-all exception is thrown when a request error that is not specifically mapped to another exception is thrown.

Hierarchy

Constructors

Properties

cause?: Error

The underlying error, if any.

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