jmap-kit
    Preparing search index...

    Type Alias SetErrorType<TCategory>

    SetErrorType:
        | "forbidden"
        | (TCategory extends "destroy" ? never : "overQuota" | "tooLarge")
        | (TCategory extends "create" ? "rateLimit" : "notFound")
        | (
            TCategory extends "update"
                ? "invalidPatch"
                | "willDestroy"
                : "singleton"
        )

    The allowed SetError type values as per JMAP spec.

    Note: This type is for documentation and code completion only. Use string for the SetError.type property to avoid TypeScript override errors.

    Type Parameters