Returning null is not enough for reporting/handling errors
-
Key: DMN16-117
-
Status: open
-
Source: Camunda Services GmbH ( Mr. Falko Menge)
-
Summary:
Abusing null as an error indicator is not enough for reporting/handling errors.
In particular, it does not solve the need for users to:- know exactly what the root cause of an error was
- control the reaction to errors
The specification already mentions error reporting but is neither a strict requirement nor consequently used:
When a built-in function encounters input that is outside its defined domain, the function SHOULD report or log diagnostic information if appropriate and SHALL return null.
-
Reported: DMN 1.5b1 — Tue, 30 Jan 2024 17:00 GMT
-
Updated: Thu, 11 Apr 2024 03:00 GMT