aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/types.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types.ads b/src/types.ads
index 1ab3c50c2..519ff94ee 100644
--- a/src/types.ads
+++ b/src/types.ads
@@ -158,6 +158,9 @@ package Types is
-- is detected.
Internal_Error: exception;
+ -- Unrecoverable error. Just exit() with an error status.
+ Fatal_Error : exception;
+
-- In some case, a low level subprogram can't handle error
-- (e.g eval_pos). In this case it is easier to raise an exception and
-- let upper level subprograms handle the case.