Expand description
§Errors (Feathers-style)
DogRS provides a Feathers-inspired set of structured errors. Core goals:
- consistent status codes + class names
- can be carried through anyhow::Error (for hook pipeline)
- transport-agnostic (server crate decides how to serialize)
If you enable feature serde, you also get:
data/errorsas serde_json::Valueto_json()helper
Structs§
- DogError
- A structured DogRS error that can live inside
anyhow::Error.
Enums§
- Error
Kind - Feathers-ish error class names + status codes.
Traits§
- Into
Anyhow DogError - Convenience trait: convert a
DogErrorintoanyhow::Error.
Type Aliases§
- DogResult
- A convenience result type for DogRS core APIs.
- Error
Value