The FORMAT_ERROR_STACK function formats the current error stack.
An exception handler can use the FORMAT_ERROR_STACK function to view the complete error stack.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only MySQL mode.
Syntax
DBMS_UTILITY.FORMAT_ERROR_STACK
RETURN VARCHAR2;
Return values
An error stack of up to 2,000 bytes is returned.