Class GenerateException<T>

An exception that can be thrown while generate-ing.

Type Parameters

Hierarchy

Constructors

Properties

cause?: unknown
code: T

The code for the exception (one of GenerateExceptionTypes).

message: string
meta?: any

Additional metadata for the exception.

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