Skip to content

Commit 0014961

Browse files
authored
fix: detailed number in the error post (#13)
1 parent 07e8f4b commit 0014961

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/post/stop-forwarding-errors-start-designing-them.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ No more traversing error chains, no more guessing from error types. Just ask the
215215

216216
The biggest enemy of good error context isn't capability--it's friction. If adding context is annoying, developers won't do it.
217217

218-
The [exn](https://github.com/fast/exn) library (841 lines of Rust, zero dependencies) demonstrates one approach: errors form a *tree* of frames, each automatically capturing its source location via `#[track_caller]`. Unlike linear error chains, trees can represent multiple causes--useful when parallel operations fail or validation produces multiple errors.
218+
The [exn](https://github.com/fast/exn) library (294 lines of Rust, zero dependencies) demonstrates one approach: errors form a *tree* of frames, each automatically capturing its source location via `#[track_caller]`. Unlike linear error chains, trees can represent multiple causes--useful when parallel operations fail or validation produces multiple errors.
219219

220220
Here's what we need:
221221

0 commit comments

Comments
 (0)