Package pyx12 :: Module error_handler :: Class err_ele
[hide private]

Class err_ele

source code

object --+    
         |    
  err_node --+
             |
            err_ele

Element Errors - Holds and generates output for element and composite/sub-element errors

Each element with an error creates a new err_ele instance.

Instance Methods [hide private]
 
__init__(self, parent, map_node)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
accept(self, visitor)
Params: visitor - ref to visitor class
source code
 
add_error(self, err_cde, err_str, bad_value) source code
 
err_count(self) source code
 
get_error_count(self) source code

Inherited from err_node: get_cur_line, get_error_list, get_first_child, get_id, get_next_sibling, get_parent, is_closed

Inherited from err_node (private): _get_last_child

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, parent, map_node)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__

accept(self, visitor)

source code 

Params: visitor - ref to visitor class

Overrides: err_node.accept

add_error(self, err_cde, err_str, bad_value)

source code 
Parameters:
  • err_cde (string) - Error code
  • err_str (string) - Description of the error

get_error_count(self)

source code 
Overrides: err_node.get_error_count
(inherited documentation)