aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.rs
Commit message (Collapse)AuthorAge
* make clippy happyDirk Van Haerenborgh2019-11-16
|
* Revert "Edition 2018 hit stable 🙌"Dirk Van Haerenborgh2018-12-15
| | | | This reverts commit b5b0f7e97abe0dbd5b54a1fc69e764a124c271b2.
* Remove unnecessary (de)refseaon2018-12-09
|
* Edition 2018 hit stable 🙌eaon2018-12-09
|
* improve lifetime management with supercowDirk Van Haerenborgh2018-11-01
|
* Add Message::headerrhn2018-10-15
|
* fix some compiler warning regarding opaque structsDirk Van Haerenborgh2018-03-20
|
* resurrectDirk Van Haerenborgh2018-03-20
|
* Rename Notmuch enum types.C. Morgan Hamill2015-03-31
| | | | | Remove the 'Notmuch' prefix, as it pollutes the generated documentation. It's rendundant, anyhow.
* Remove `NotmuchType` trait.C. Morgan Hamill2015-03-26
| | | | No longer necessary with the `From` and `Into` traits from std::convert.
* Rename `NotmuchEnum` trait to `NotmuchType`.C. Morgan Hamill2015-03-24
| | | | Turns out to be useful outside of just enums.
* Add crate-level `Result` type to error module.C. Morgan Hamill2015-03-20
| | | | `Result<T, E>` where `E` is always the local `Error` type.
* Add `cause()` method to `Error` type.C. Morgan Hamill2015-03-20
| | | | Returns the underlying error type, if any.
* Add error module with crate's `Error` type.C. Morgan Hamill2015-03-20
Implement `Display`, `Error`, and various `FromError<T>` traits on `Error`, allowing the use of `try!` on the various `Result` types in the crate. Note that currently the only error variants are those thrown from a lower-level operation.