From 3936756b366470c3f9c2d93f0e52204a7bc0a609 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 13 Jan 2025 22:53:12 -0600 Subject: [PATCH] [nostalgia/developer-handbook] Update error handling to reflect the enablement of exceptions for GBA build --- developer-handbook.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/developer-handbook.md b/developer-handbook.md index 1ea62ca3..b5168da6 100644 --- a/developer-handbook.md +++ b/developer-handbook.md @@ -162,11 +162,9 @@ The Ox way of doing things is the Olympic way of doing things. ### Error Handling -The GBA build has exceptions disabled. -Instead of throwing exceptions, all engine code should return -[ox::Errors](deps/ox/ox-docs.md#error-handling) for error reporting. -For the sake of consistency, try to stick to ```ox::Error``` in non-engine code -as well, but non-engine code is free to use exceptions when they make sense. +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. Exceptions should generally just use ```OxException```, which is bascially an exception form of ```ox::Error```.