Rust

error

Module

The error type shared by every device and validator.

Contents

use utopia_storage::Error;
Rust
pub enum Error

Why a storage operation failed.

Every runtime failure is a storage error a caller can match on as one category; invalid arguments (programmer errors) are Error::InvalidArgument.

Rust
pub type Result<T, E = Error> = std::result::Result<T, E>

A Result with Error.