Skip to content

Commit

Permalink
Fix a sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
temeddix committed Oct 25, 2024
1 parent 09b173f commit 615c635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ We recommend that you _not_ write panicking code at all, since Rust has the idio

To manage Rust errors effectively, using a flexible error type is beneficial.

Developing an app differs from creating a library, as an app may encounter a wide range of error situations. Declaring a distinct error type for hundreds of potential errors can be overwhelming. Therefore, it is advisable to utilize a single, flexible error type.
Developing an app differs from creating a library, as an app may encounter a wide range of error situations. Declaring distinct error types for hundreds of potential errors can be overwhelming. Therefore, it is advisable to utilize a single, flexible error type.

You can define your own custom error type or simply use one from `crates.io`:

Expand Down

0 comments on commit 615c635

Please sign in to comment.