Module alexandria::error[][src]

Alexandria specific error handling

Generally, not all errors can be expressed as one, and many of the errors that happen internally are filtered and repacked into a set of common errors that users of the library will have to deal with. They are most commonly related to user mistakes, scheduling problems, etc.

However there are some errors that the database itself can’t handle, and so it has to bubble up via the IternalError variant on Error. These can be bugs in Alexandria itself, or some runtime constraint like having run out of memory or disk space.

Structs

DiffErrors

Span info errors that can occur while applying a diff to a record

Enums

Error

Common alexandria error fascade

Type Definitions

Result

A convenience alias to contain a common alexandria error