Expand description
Top-level error types for the Actor-RTC framework.
§Design
Two layers only:
NetworkError (transport-internal, never exposed to users)
↓ From
ActrError (public, flat enum — what callers see)RuntimeError and ProtocolError have been removed.
§Error classification
Every error belongs to one fault domain (ErrorKind):
| Kind | Meaning | Retry? | DLQ? |
|---|---|---|---|
| Transient | Environmental fluctuation | yes | no |
| Client | Caller error (bad request) | no | no |
| Internal | Framework bug / panic | no | no |
| Corrupt | Data corruption | no | yes |
Use the Classify trait to query classification from any error type.
Enums§
- Actr
Error - Top-level framework error, returned to all callers.
- Error
Kind - Fault domain classification for any framework error.
Traits§
- Classify
- Fault-domain classification for error types.
Type Aliases§
- Actor
Result - Result type for actor RPC calls.