mirror of
https://github.com/actix/actix-website
synced 2025-01-22 16:15:56 +01:00
fix a typo: remove an duplicate word (#215)
This commit is contained in:
parent
350fe31475
commit
56c5cbe615
@ -87,7 +87,7 @@ occurred (rather than the origin of the error).
|
|||||||
# Recommended practices in error handling
|
# Recommended practices in error handling
|
||||||
|
|
||||||
It might be useful to think about dividing the errors an application produces into two broad groups:
|
It might be useful to think about dividing the errors an application produces into two broad groups:
|
||||||
those which are intended to be be user-facing, and those which are not.
|
those which are intended to be user-facing, and those which are not.
|
||||||
|
|
||||||
An example of the former is that I might use failure to specify a `UserError` enum which
|
An example of the former is that I might use failure to specify a `UserError` enum which
|
||||||
encapsulates a `ValidationError` to return whenever a user sends bad input:
|
encapsulates a `ValidationError` to return whenever a user sends bad input:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user