Expand description
Errors. An implementation returns crucible_server_runtime_rust::Result<T> and may fail with
anything: a modelled error, or any other error through ?. The framework
decides afterwards what reaches the caller (see docs/framework.md).
Structs§
- Error
- Any error. Like
anyhow::Errorit is not itself astd::error::Error, so every error type converts into it with?.
Enums§
- Framework
Error - Errors the framework answers itself, outside any model: a request no operation serves, or an internal failure when the service models no internal error.
Constants§
- MAX_
SOURCE_ DEPTH - Maximum depth of error source traversal to protect against cycles.
Traits§
- Modelled
Error - An error shape from the model. Generated for every
@errorstructure.