summaryrefslogtreecommitdiff
path: root/src/fltk-environment.adb
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2024-12-01 13:34:58 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2024-12-01 13:34:58 +1300
commitdf63542510b6912405f3709b204ad3a59548c917 (patch)
treef5b1fb7b64a7613b1d7de990c22d9c78a5b95292 /src/fltk-environment.adb
parentba29d58fb21f0f376dd4c09df61b4e1d38cb1226 (diff)
Improved specificity of exceptions with Internal_FLTK_Error and Storage_Error
Diffstat (limited to 'src/fltk-environment.adb')
-rw-r--r--src/fltk-environment.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fltk-environment.adb b/src/fltk-environment.adb
index 1632717..a1ebdbe 100644
--- a/src/fltk-environment.adb
+++ b/src/fltk-environment.adb
@@ -384,7 +384,7 @@ package body FLTK.Environment is
elsif Num = root_fl_prefs_user then
return User;
else
- raise Constraint_Error;
+ raise Internal_FLTK_Error;
end if;
end To_Scope;