ErrorNo Property

Specifies the error number for an Exception object. Read/write at run time.

Exception.ErrorNo

Return Value

Numeric data type

Remarks

Applies To: Exception Class (Visual FoxPro)

If the exception results from a THROW command that specifies a value for the eUserExpression parameter, the value of ErrorNo is 2071.

Identical to the value returned by the ERROR( ) function and the first element in the array produced by the AERROR( ) function.

See Also

Reference

Exception Object Properties, Methods, and Events
ERROR( ) Function
AERROR( ) Function
SYS(2018) - Error Message Parameter
TRY...CATCH...FINALLY Command

Concepts

Structured Error Handling

Other Resources

Properties (Visual FoxPro)