Atomic Data Errors have an additional Type, which tells the client what kind of error to render.

Hierarchy

  • Error
    • AtomicError

Constructors

Properties

Methods

Constructors

  • Creates an AtomicError. The message can be either a plain string, or a JSON-AD Error Resource

    Parameters

    • message: string
    • type: ErrorType = ErrorType.Client

    Returns AtomicError

Properties

type: ErrorType

Methods

  • Returns string

Generated using TypeDoc