Hierarchy

  • Error
    • MozaicError

Properties

message: string
name: string
rawError: any

The raw exception or other data object that was wrapped by MozaicError. This can be logged if you need additional details about the issue.

stack?: string
status: number

An HTTP Status code from any underlying api call

prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void