Skip to main content

Module error

Module error 

Source
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::Error it is not itself a std::error::Error, so every error type converts into it with ?.

Enums§

FrameworkError
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§

ModelledError
An error shape from the model. Generated for every @error structure.

Type Aliases§

Result