jmap-kit
    Preparing search index...

    Represents a JMAP method-level error invocation.

    This class encapsulates error responses from the JMAP server, providing a similar interface to Invocation, but with no dataType property. The error arguments are stored as a map and can be accessed via the arguments getter. The error type is available via the type getter.

    Index

    Constructors

    Accessors

    Constructors

    Accessors

    • get type(): HintedString<
          | "forbidden"
          | "serverUnavailable"
          | "serverFail"
          | "serverPartialFail"
          | "unknownMethod"
          | "invalidArguments"
          | "invalidResultReference"
          | "accountNotFound"
          | "accountNotSupportedByMethod"
          | "accountReadOnly"
          | "requestTooLarge"
          | "cannotCalculateChanges"
          | "stateMismatch"
          | "anchorNotFound"
          | "unsupportedSort"
          | "unsupportedFilter"
          | "tooManyChanges",
      >

      The error type string (e.g., "serverFail", "invalidArguments").

      Returns HintedString<
          | "forbidden"
          | "serverUnavailable"
          | "serverFail"
          | "serverPartialFail"
          | "unknownMethod"
          | "invalidArguments"
          | "invalidResultReference"
          | "accountNotFound"
          | "accountNotSupportedByMethod"
          | "accountReadOnly"
          | "requestTooLarge"
          | "cannotCalculateChanges"
          | "stateMismatch"
          | "anchorNotFound"
          | "unsupportedSort"
          | "unsupportedFilter"
          | "tooManyChanges",
      >