summaryrefslogtreecommitdiff
path: root/body/fltk-tooltips.adb
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-29 13:38:11 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-29 13:38:11 +1300
commit82ec0d8c8d1ba164aa2d29c8f1203730aa51988c (patch)
tree5a97b24d2c1325a2563a4cff70f285fd6da34b44 /body/fltk-tooltips.adb
parentdee76d5884c6f079ea3a2387d07289534a51a0c1 (diff)
Raises of Internal_FLTK_Error now come with error messages
Diffstat (limited to 'body/fltk-tooltips.adb')
-rw-r--r--body/fltk-tooltips.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/body/fltk-tooltips.adb b/body/fltk-tooltips.adb
index ccdb649..9c7d9ad 100644
--- a/body/fltk-tooltips.adb
+++ b/body/fltk-tooltips.adb
@@ -189,7 +189,8 @@ package body FLTK.Tooltips is
end if;
return Actual_Widget;
exception
- when Chk.Assertion_Error => raise Internal_FLTK_Error;
+ when Chk.Assertion_Error => raise Internal_FLTK_Error with
+ "Widget returned by Fl_Tooltip::current did not have user_data reference back to Ada";
end Get_Target;