Module indigo::fail[][src]

Provides the fail! macro and a generic cloneable error type.

Macros

err

Creates a new fail::Error from format args.

fail

Returns an Err containing a new fail::Error from format args.

with

Returns a closure for using Result::map_err to add a description before another error.

Structs

Error

A generic cloneable error.

Functions

from

Create a new [Error] from a given error.

Type Definitions

Result

Represents either success (Ok) or failure (Err).