simple-error
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.
Usage
To use simple-error
, first add this to your Cargo.toml
:
[]
= "0.1"
Then, add this to your crate root:
extern crate simple_error;