[][src]Module sophia::error

Types for handling errors.

Structs

Error

The Error type.

Enums

ErrorKind

The kind of an error.

Never

An "error" type that can never happen.

Traits

CoercibleWith

A trait used to determine how to best coerce two error types.

ResultExt

Additional methods for Result, for easy interaction with this crate.

Functions

make_parser_error

Make a Parser Error with minimal information

Type Definitions

CoercedError

A shortcut for building the coerced error type, given two error types, which must both be either $error or Never.

CoercedResult

A shortcut for building the coerced result type, given one value type and two error types, which must both be either $error or Never.

OkResult

Type alias for a result that will Never fail.

Result

Convenient wrapper around std::Result.