20.1.5.1 Adding an Error Message in PL/SQL

Use APEX_ERROR.ADD_ERROR to add an error message from server-side processing.

It halts further processing, abandons data changes, and shows the error in the notification area.