[nostalgia/developer-handbook] Update error handling section
All checks were successful
Build / build (push) Successful in 1m8s

This commit is contained in:
2026-01-20 00:51:27 -06:00
parent 4d0da022cf
commit ff9002ad9a

View File

@@ -163,10 +163,11 @@ The Ox way of doing things is the Olympic way of doing things.
### Error Handling
Instead of throwing exceptions, generally try to use
[ox::Errors](deps/ox/ox-docs.md#error-handling) for error reporting,
but exceptions may be used where they make sense.
[ox::Error](deps/ox/ox-docs.md#error-handling) for error reporting.
Exceptions may be used where errors-as-values will not work, but catch them and
convert them to ```ox::Error``` as soon as possible.
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```.
### File I/O