Module Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad decorator_list decorator_list
N/A N/A 
Generic error handler.

As handling of device errors is done differently among vendors, a variety of
error detection mechanisms can be incorporated. For example, in Cisco devices
the usage of an error list and a simple heuristic method is sufficient.
Juniper devices may require more sophisticated handling. In all cases, new
modules should be added in a

"<personality>.py"

file. Inside this file a subclass of DefaultErrorHandler should be created as:

"<Personality>ErrorHandler>"

(first leter capital).
 DefaultErrorHandler N/A object N/A __init__ N/A N/A self personality N/A None N/A N/A N/A self personality personality N/A has_error N/A N/A self output N/A N/A N/A  The actual error detector

        It can be really simple with string in list matching to very complex
        with regexps or even API calls
         N/A False N/A N/A