1
2
3
4
5
6
7
8
9
10
11
12
13
//! # Custom Errors
//!
//! The most basic error type is [`ParserError`][crate::error::ParserError]
//!
//! Optional traits include:
//! - [`AddContext`][crate::error::AddContext]
//! - [`FromExternalError`][crate::error::FromExternalError]
//!
//! # Example
//!
//!```rust
#![doc = include_str!("../../examples/custom_error.rs")]
//!```