Docs.rs
unwrap_or_else_error_handle-0.1.0
unwrap_or_else_error_handle 0.1.0
Permalink
Docs.rs crate page
Links
Repository
crates.io
Source
Owners
oblivisheee
Dependencies
Versions
50%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Crate unwrap_or_else_error_handle
unwrap_
or_
else_
error_
handle
0.1.0
All Items
Crate Items
Functions
Crate
unwrap_
or_
else_
error_
handle
Copy item path
Source
Functions
§
handle_
error
Function to handle errors in a way that prints a message and exits the program. result.unwrap_or_else(handle_error(“An error occurred”)) Prints “An error occurred:
” and exits on error.