]> git.proxmox.com Git - rustc.git/blob - vendor/winnow-0.4.7/src/_topic/error.rs
New upstream version 1.75.0+dfsg1
[rustc.git] / vendor / winnow-0.4.7 / src / _topic / error.rs
1 //! # Custom Errors
2 //!
3 //! The most basic error type is [`ParseError`][crate::error::ParseError]
4 //!
5 //! Optional traits include:
6 //! - [`ContextError`][crate::error::ContextError]
7 //! - [`FromExternalError`][crate::error::FromExternalError]
8 //!
9 //! # Example
10 //!
11 //!```rust
12 #![doc = include_str!("../../examples/custom_error.rs")]
13 //!```