Skip to content

Commit

Permalink
error infos
Browse files Browse the repository at this point in the history
  • Loading branch information
vic1707 committed Nov 28, 2023
1 parent d0870d7 commit b497e73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,12 @@ fn main() {
}
```

### Error handling

All errors are implemented using the [`thiserror`](https://crates.io/crates/thiserror).
And parsing errors are implemented using the [`miette`](https://crates.io/crates/miette) crate.
<img src="./assets/error.png" alt="Error message" width="300"/>

### Advanced examples

## Higher order functions
Expand Down
Binary file added assets/error.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b497e73

Please sign in to comment.