simple-error is a
Rust library that provides a simple
Error type backed by a
String. It is best used when all you care about the error is an error string.
simple-error, first add this to your
[dependencies] simple-error = "0.1"
Then, add this to your crate root:
#[macro_use] extern crate simple_error;