Hierarchy

  • Error
    • GenericError

Constructors

  • Parameters

    • msg: string

    Returns GenericError

Properties

cause?: unknown
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

©2020 - 2024 Oraichain Foundation