Module error

Module error 

Source
Expand description

Error types that arise when interacting with the storage layer.

These are the only errors emitted by the Storage abstraction. They are lightweight, strongly-typed, and can be converted to the top-level AppError via thiserror.

The public items below are all lightweight error types that can be produced by the storage layer or the epoch handling subsystem.

Enumsยง

EpochError
All errors that can occur while working with epochs.
StorageError
Errors that can be returned by the storage layer.
UserErrors
A small enum of explicit user-facing error messages.