From 67187d5ec52746e73012bf2d8f59e3c5d2639c24 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 4 Oct 2024 01:18:25 -0500 Subject: [PATCH] [olympic/developer-handbook] Elaborate more on exception usage --- developer-handbook.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/developer-handbook.md b/developer-handbook.md index 62d75fd3..b20de569 100644 --- a/developer-handbook.md +++ b/developer-handbook.md @@ -177,6 +177,9 @@ Instead of throwing exceptions, all engine code should return 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. +Exceptions should generally just use ```OxException```, which is bascially an +exception form of ```ox::Error```. + ### File I/O All engine file I/O should go through Keel, which should go through