diff options
| author | Teddy Wing | 2016-04-22 19:03:04 -0400 |
|---|---|---|
| committer | Teddy Wing | 2016-04-22 19:09:43 -0400 |
| commit | b9f6915d1e92f77c002f05a1371941dd3e3dcb95 (patch) | |
| tree | c07b8d706ec2b13e93e9237b41a3146c313246fe /t/001-creates-a-new-alias-for-a-contact-with-an-existing-name.t | |
| parent | 4535477b09ff1753cdc83e3c44585ad393a5c716 (diff) | |
| download | mutt-alias-auto-add-b9f6915d1e92f77c002f05a1371941dd3e3dcb95.tar.bz2 | |
Add descriptions to `AliasSearchError` `fmt::Display`
Use the descriptions from our `error::Error` implementation. To do so
needed to `use std::error::Error`.
Change those `write!` calls to `writeln!` also so that we get decent
output on the command line.
We now output errors from `AliasSearchError::{NotFound, EmailExists}` to
STDERR for better error reporting.
Diffstat (limited to 't/001-creates-a-new-alias-for-a-contact-with-an-existing-name.t')
0 files changed, 0 insertions, 0 deletions
