Docs.rs
try-exit-1.0.0
try-exit 1.0.0
Permalink
Docs.rs crate page
WTFPL
Links
Repository
crates.io
Source
Owners
deagahelio
Dependencies
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
try_
exit
1.0.0
All Items
Crate Items
Functions
Crate
try_exit
Copy item path
Source
Expand description
Dependency free, simple error handling for small programs
Functions
§
try
Attempts to unwrap a
Result
. If it’s an
Err
, exit program with given error message.
try_opt
Attempts to unwrap an
Option
. If it’s a
None
, exit program with given error message.