@aster-rpc/aster API Reference
    Preparing search index...

    Type Alias StatusCode

    StatusCode: typeof StatusCode[keyof typeof StatusCode]

    Aster RPC status codes and error hierarchy.

    Spec reference: S6.5 (status codes).

    Codes 0-16 mirror gRPC's google.rpc.Code semantically. Codes 100+ are Aster-native and have no gRPC equivalent. The 17-99 range is reserved as a buffer in case gRPC ever extends its enum.

    A common gripe with gRPC's status codes is that there are too few to express the variety of failures real services actually hit. The 100+ space gives Aster room to mint more precise codes over time, signalling clearly that they are intentionally separate from the gRPC vocabulary.