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
Concepts
Reference
Exception Object Properties, Methods, and Events
SYS(2018) - Error Message Parameter