Throws
throws!
is a macro for easy creation per-function error enums.
Example
throws!;
For more, check out the examples directory!
You can run an individual example using cargo run --example example-name
.
Installation
If you're using cargo, just add throws
to your Cargo.toml
:
[]
= "*"
Otherwise, cargo build
, and the rlib will be in your target
directory.
License
MIT