diff options
Diffstat (limited to 'src/_topic/error.rs')
-rw-r--r-- | src/_topic/error.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/_topic/error.rs b/src/_topic/error.rs new file mode 100644 index 0000000..c5374b4 --- /dev/null +++ b/src/_topic/error.rs @@ -0,0 +1,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")] +//!``` |