Skip to Main Content
Feature Request FR-4576
Product Area APIs
Status CLOSED

3 Voters

Add confirm, warning, information on apex_error package

thaer Public
· Jul 24 2025

Enhancement of the **APEX_ERROR** Package to Support Additional Message Types: **CONFIRM**, **WARNING**, and **INFORMATION**

Currently, Oracle APEX provides standardized error handling through the APEX_ERROR package, which is powerful for managing unhandled exceptions and mapping error messages in a centralized way. However, this package is limited to the handling and display of error messages only (e.g., via apex_error.add_error). It lacks built-in, standardized support for other types of user communication messages, such as:

  • Confirmation messages
  • Warning messages
  • Informational messages

The idea is to extend the APEX_ERROR package to include native support for different types of messages, providing a more robust and unified interface for message management in applications.


Use Case

This enhancement would be useful in several scenarios where different types of user messages need to be handled during process execution, such as:

  • Confirmations to proceed or not
    Prompting users to confirm whether to proceed with an action (e.g., deletions or overwrites).
  • Warning users about potential issues
    Showing warnings during execution, such as calculation mismatches or unexpected values.
  • Displaying informational messages
    Notifying users about successful operations, system statuses, or the next steps in a process.
  • Centralized messaging framework
    Unifying all types of user feedback (errors, warnings, info, confirmations) into a centralized and programmatic API, improving maintainability and readability.
We reviewed this idea carefully, and while it was interesting, we concluded that due to all the internal implications we need to take into account, it is unlikely to make its way into APEX.