jmap-kit
    Preparing search index...

    Type Alias JMAPResponseInvocationErrorArgs

    JMAPResponseInvocationErrorArgs: JMAPResponseInvocationArgs & {
        description?: string;
        type: HintedString<
            | "serverUnavailable"
            | "serverFail"
            | "serverPartialFail"
            | "unknownMethod"
            | "invalidArguments"
            | "invalidResultReference"
            | "forbidden"
            | "accountNotFound"
            | "accountNotSupportedByMethod"
            | "accountReadOnly"
            | "requestTooLarge"
            | "cannotCalculateChanges"
            | "stateMismatch"
            | "anchorNotFound"
            | "unsupportedSort"
            | "unsupportedFilter"
            | "tooManyChanges",
        >;
    }

    An object containing named arguments for a method response that represents an error.

    Type Declaration

    • Optionaldescription?: string

      A human-readable description of the error, which may be used for debugging or logging purposes.

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

      The type of error that occurred, as a string. This is a HintedString, so it can be any string, but the JMAP core specification defines some known error types that servers may use.