simple-error
simple-error
is a simple Error
type which is bakced by a String
. It is used when all you want 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;