Skip to content

Commit

Permalink
Merge pull request #746 from epage/adapt
Browse files Browse the repository at this point in the history
docs(ref): Link ContextError to tutorial
  • Loading branch information
epage authored Feb 19, 2025
2 parents 2e94c45 + 4f43ff5 commit 720fae1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,9 @@ impl ErrorConvert<()> for () {
}

/// Accumulate context while backtracking errors
///
/// See the [tutorial][crate::_tutorial::chapter_7#error-adaptation-and-rendering]
/// for an example of how to adapt this to an application error with custom rendering.
#[derive(Debug)]
pub struct ContextError<C = StrContext> {
#[cfg(feature = "alloc")]
Expand Down

0 comments on commit 720fae1

Please # to comment.