@multiversx/sdk-core - v14.0.1

    Class ErrCodec

    Signals a generic codec (encode / decode) error.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    inner: undefined | Error = undefined
    message: string
    name: string
    stack?: string
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Returns a pretty, friendly summary for the error or for the chain of errros (if appropriate).

      Returns any[]

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    MMNEPVFCICPMFPCPTTAAATR