error-chain
Error boilerplate for Rust
File Explorer
Download Latest Version (.zip)- all.rs
- chain_err.rs
- doc.rs
- has_backtrace.rs
- quickstart.rs
- size.rs
- backtrace.rs
- error_chain.rs
- example_generated.rs
- impl_error_chain_kind.rs
- lib.rs
- quick_main.rs
- quick_main.rs
- tests.rs
- .gitattributes
- .gitignore
- .travis.yml
- build.rs
- Cargo.toml
- CHANGELOG.md
- LICENSE-APACHE
- LICENSE-MIT
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/rust-lang-deprecated/error-chain
Downloads the entire project code from GitHub to your computer.
cd error-chain
Moves into the project folder you just downloaded.
2. Rust
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
If cargo build finishes without errors, it worked. The executable is created under target/.
// repository documentation
Was this content helpful?
(0 ratings)
