This class represents an error while decoding the Metadata according to a MarloweTemplate.

Hierarchy

  • Error
    • DecodingTemplateError

Constructors

Properties

error: Errors
message: string
name: string
stack?: string
template: MarloweTemplate<any>
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void