# ERROR HANDLER

Designate a method as an error handler for the class

Syntax

  ERROR HANDLER <MethodName>( [<params,...>] )

Arguments

  <MethodName> Name of the method to define
  <params,...> Optional parameter list

Description

  ERROR HANDLER names the method that should handle errors for the class being defined.

Examples

          CLASS TWindow
             ERROR HANDLER  MyErrHandler()
          ENDCLASS

Status

  Ready

Compliance

  ERROR HANDLER is a Harbour extension.

Platforms

  All

See Also

- Object Oriented Programming
- ON ERROR
- CLASS
- METHOD