To illustrate this, here is a function that has 3 different "wrong" behaviors
parameter is completely stupid: we use a user-defined expression
parameter has a typo: we use Oracle standard NO_DATA_FOUND error
another, but not handled case
Feel free to adapt it to your standards:
DE...