Hi,
how can I use defining custom user messages for SQL exceptions? I do not find anything about this in the manuals.
Best greets
H. Peter
Hi,
how can I use defining custom user messages for SQL exceptions? I do not find anything about this in the manuals.
Best greets
H. Peter
You can do it, but only for your custom Postgres functions.
To do this you need to handle the SQL exception like this:
RAISE EXCEPTION ‘CM_CUSTOM_EXCEPTION: custom message’;
where “custom message” is the string you want to appear on the GUI.
CMDBuild Team