@drupflare/workforce - v0.3.0
    Preparing search index...

    Type Alias ErrorKind

    ErrorKind:
        | "auth"
        | "api"
        | "limit"
        | "not-found"
        | "capability"
        | "usage"
        | "transport"

    The error vocabulary, and every refusal in this library is one of these.

    A caller should be able to branch on kind without parsing a message, which is why the Cloudflare envelope's own error list is carried on ApiError rather than flattened into text.