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
CREATE CLASS TWindow ON ERROR MyErrHandler() ENDCLASS
Compliance
Harbour
Platforms
All
Seealso
Object Oriented Programming, ERROR HANDLER, CLASS, METHOD, DATA
Pingback: Harbour Statements | Viva Clipper !
Pingback: Harbour Commands | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !