Skip to main content

externalErrorSerialiser

Index

Constructors

externalconstructor

Methods

staticexternalserialise

  • serialise(error: Error): string
  • Parameters

    • externalerror: Error

    Returns string

staticexternalregisterErrorTypes

  • registerErrorTypes(...types: new (...args: any[]) => Error[]): void
  • Parameters

    • externalrest...types: new (...args: any[]) => Error[]

    Returns void

staticexternaldeserialise

  • deserialise(serialised?: string | JSONObject): Error
  • Parameters

    • externaloptionalserialised: string | JSONObject

    Returns Error

staticexternaldeserialiseFromStackTrace

  • deserialiseFromStackTrace(stack: string): Error
  • Parameters

    • externalstack: string

    Returns Error