Skip to main content

Module error

Module error 

Source
Expand description

Error type of the public API

The public functions of this crate that return a Result use Error as the error type. Each variant carries the values that caused it, so that its message locates the problem. Error::kind sorts the variants into the categories that the C API reports as status codes.

Enums§

ArrayRole
Which array of an operation has the wrong shape, in Error::ShapeMismatch
Error
Error returned by the fallible public functions of this crate
ErrorKind
Category of an Error

Type Aliases§

Result
Result type of the fallible public functions of this crate