ON ERROR
Designate a method as an error handler for the class
- Syntax
- ON ERROR <MethodName>( [<params,...>] )
- Arguments
- <MethodName> Name of the method to define
- <params,...> Optional parameter list
- Description
- ON ERROR is a synonym for ERROR HANDLER. It names the method that should handle errors for the class being defined.
- Examples
- CLASS TWindow
- ON ERROR MyErrHandler()
- ENDCLASS
- Status
Ready
- Compliance
- ON ERROR is a Harbour extension.
- Platforms
- All
- See Also