simple-error

crates.io Build Status Coverage Status

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.

Documentation

Usage

To use simple-error, first add this to your Cargo.toml:

toml [dependencies] simple-error = "0.1"

Then, add this to your crate root:

```rust

[macro_use]

extern crate simple_error; ```