Previous Topic: $ERRORSUBSCRIPT FunctionNext Topic: $ERRORVALUE Function


$ERRORTYPE Function

This function returns a three‑letter code that identifies the specific type of error. See $ERROR‑CLASS for the type codes associated with each class.

Note: $ERROR functions return meaningful data only in the error procedure or in a procedure or subprogram invoked by the error procedure. In the case of a database error, $ERROR functions can also return meaningful data in the scope of a WHEN ERROR clause. You do not have to pass the $ERROR functions as parameters.