These API routines allow you to determine the cause of an error and the error type.
- _Error( ) API Library Routine
- Signals the error specified by the value in code to the Visual FoxPro runtime.
- _ErrorInfo( ) API Library Routine
- Returns the external error number that reflects the internal error number specified by code.
- _UserError( ) API Library Routine
- Reports an error with the null-terminated text specified in the message.