Errors in the message syntax.

Hierarchy (View Summary)

Properties

cause?: unknown
end: number
message: string
name: string
stack?: string
start: number
type:
    | "empty-token"
    | "bad-escape"
    | "bad-input-expression"
    | "duplicate-attribute"
    | "duplicate-declaration"
    | "duplicate-option-name"
    | "duplicate-variant"
    | "extra-content"
    | "key-mismatch"
    | "parse-error"
    | "missing-fallback"
    | "missing-selector-annotation"
    | "missing-syntax"
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