A11 TypeScript API - v0.2.1
    Preparing search index...

    Enumeration StatusCode

    Portable outcome codes used across actions, stores, transports, and HTTP.

    A11 returns these structured outcomes from expected operational failures so an agent can preserve the same meaning across process and language boundaries. Reserve thrown JavaScript errors for code that explicitly opts into the exception helpers below.

    Index
    ABORTED: 10

    The operation was aborted, commonly due to a conflict.

    ALREADY_EXISTS: 6

    The entity being created already exists.

    CANCELLED: 1

    The caller or owning task cancelled the operation.

    DATA_LOSS: 15

    Data was corrupted or irrecoverably lost.

    DEADLINE_EXCEEDED: 4

    The operation did not finish before its deadline.

    FAILED_PRECONDITION: 9

    Runtime state must change before this operation is valid.

    INTERNAL: 13

    An A11 invariant or implementation failed.

    INVALID_ARGUMENT: 3

    Input is invalid regardless of current runtime state.

    NOT_FOUND: 5

    The requested entity does not exist.

    OK: 0

    The operation completed successfully.

    OUT_OF_RANGE: 11

    A requested offset or value lies outside its valid range.

    PERMISSION_DENIED: 7

    The authenticated caller lacks permission.

    RESOURCE_EXHAUSTED: 8

    A bounded queue, quota, or other resource is exhausted.

    UNAUTHENTICATED: 16

    The caller's identity could not be established.

    UNAVAILABLE: 14

    A transient service or transport is unavailable.

    UNIMPLEMENTED: 12

    This endpoint does not implement the requested operation.

    UNKNOWN: 2

    No more specific failure code is known.