[nostalgia/developer-handbook] Update error handling section
All checks were successful
Build / build (push) Successful in 1m8s
All checks were successful
Build / build (push) Successful in 1m8s
This commit is contained in:
@@ -164,9 +164,9 @@ The Ox way of doing things is the Olympic way of doing things.
|
|||||||
|
|
||||||
Instead of throwing exceptions, generally try to use
|
Instead of throwing exceptions, generally try to use
|
||||||
[ox::Errors](deps/ox/ox-docs.md#error-handling) for error reporting,
|
[ox::Errors](deps/ox/ox-docs.md#error-handling) for error reporting,
|
||||||
but exceptions may be used where they make sense.
|
but exceptions may be used where errors-as-values will not work.
|
||||||
|
|
||||||
Exceptions should generally just use ```OxException```, which is bascially an
|
Exceptions should generally just use ```ox::Exception```, which is basically an
|
||||||
exception form of ```ox::Error```.
|
exception form of ```ox::Error```.
|
||||||
|
|
||||||
### File I/O
|
### File I/O
|
||||||
|
|||||||
Reference in New Issue
Block a user