次の方法で共有


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

Structured Error Handling

Reference

Exception Object Properties, Methods, and Events

ERROR( ) Function

AERROR( ) Function

SYS(2018) - Error Message Parameter

TRY...CATCH...FINALLY Command

Other Resources

Properties (Visual FoxPro)