Crate vortex_error

Source
Expand description

This crate defines error & result types for Vortex. It also contains a variety of useful macros for error handling.

Macros§

vortex_bail
A convenient macro for returning a VortexError.
vortex_err
A convenient macro for creating a VortexError.
vortex_panic
A convenient macro for panicking with a VortexError in the presence of a programmer error (e.g., an invariant has been violated).

Structs§

ErrString
A string that can be used as an error message.

Enums§

VortexError
The top-level error type for Vortex.

Traits§

ResultExt
Extension trait for VortexResult
VortexExpect
A trait for expect-ing a VortexResult or an Option.
VortexUnwrap
A trait for unwrapping a VortexResult.

Type Aliases§

SharedVortexResult
A vortex result that can be shared or cloned.
VortexResult
A type alias for Results that return VortexErrors as their error type.