Core
Table of Contents
Classes
- AuthError
- Authentication failure: wrong credentials, expired session, MFA failure, or a 401
on refresh (CONTRACT.md §2). Always constructed via {@see ErrorMapper} so REST and
gRPC transports cannot drift on the error taxonomy.
- AuthzError
- Authorization failure: the caller is authenticated but lacks permission for the
requested operation (CONTRACT.md §2). Always constructed via {@see ErrorMapper} so
REST and gRPC transports cannot drift on the error taxonomy.
- AxiamException
- Base exception for all AXIAM SDK errors (CONTRACT.md §2, D-10).
- ErrorMapper
- Central status→error mapper (CONTRACT.md §2, D-10). {@see self::fromStatus()} is the
single translation point from an HTTP status code to a typed {@see AxiamException}
subtype — no other class in the SDK is permitted to hand-roll this branching:
401 → {@see AuthError}; 403/409 → {@see AuthzError}; everything else
(400/408/429/5xx/transport) → {@see NetworkError}.
- NetworkError
- Transport-level failure: connection refused, timeout, TLS error, DNS failure, or a
server-side 5xx (CONTRACT.md §2).
- Sensitive
- Wraps a token-carrying value so it can never be accidentally exposed via
`__toString()`, `var_export()`/`print_r()`, or JSON serialization
(CONTRACT.md §7, D-11).