Hierarchy

  • Error
    • GoogleAISafetyError

Constructors

Properties

message: string
name: string
reply: any = ""
stack?: string
stackTraceLimit: number
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void