RemoveUserError - cBaseErrorHandler
Removes an error number from the error handler's list of user (handled) errors
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| iError | Integer | Error number |
Syntax
Procedure RemoveUserError Integer iError
Call Example
Send RemoveUserError iError
Description
The error system categorizes errors as a user error (handled) or a program error (unhandled). If an error is part of the user error list, it will be treated as a user error. RemoveUserError removes an error number from the list of user errors.
Sample
Send RemoveUserError of ghoErrorHandler 300
The most common user errors have already been added to the error object.
AddUserError can be used to add an error to the user error list. RemoveAllUserErrors can be used to remove all error numbers from the user error list.