[][src]Module ritual_common::errors

Error handling types based on failure crate.

Macros

bail

Exits a function early with an Error.

ensure

Exits a function early with an Error if the condition is not satisfied.

format_err

Constructs an Error using the standard string interpolation syntax.

Structs

Error

The Error type, which can contain any failure.

Traits

FancyUnwrap
ResultExt

Extension methods for Result.

Functions

err_msg

Constructs a Fail type from a string.

print_trace

Type Definitions

Result