Class GeneratorFatalError

GeneratorFatalError is thrown when data generation stops due to something unexpected, such as invalid options.

Hierarchy

  • Error
    • GeneratorFatalError

Constructors

Properties

cause?: unknown
errorCode: string = ''
message: string
name: string
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc