report_application_error
Description: This function can be used to throw errors during PL execution.
Return type: void
Table 1 report_application_error parameter description
Parameter
Type
Description
Mandatory or Not
log
text
Content of an error message.
Yes
code
int4
Error code corresponding to an error message. The value ranges from –20999 to –20000.
No