From ff9002ad9a6776140ecdc179e986e31eef4d1380 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 20 Jan 2026 00:51:27 -0600 Subject: [PATCH] [nostalgia/developer-handbook] Update error handling section --- developer-handbook.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/developer-handbook.md b/developer-handbook.md index b5168da6..714a46e3 100644 --- a/developer-handbook.md +++ b/developer-handbook.md @@ -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