pyx12.error_999

Generates a 999 Response Visitor - Visits an error_handler composite

Attributes

Classes

error_999_visitor

Visit an error_handler composite. Generate a 999.

Module Contents

pyx12.error_999.logger[source]
class pyx12.error_999.error_999_visitor(fd, term=('~', '*', ':', '\n', '^'))[source]

Bases: pyx12.error_visitor.error_visitor

Visit an error_handler composite. Generate a 999.

Parameters:
  • fd (file descriptor) – target file

  • term (tuple(string, string, string, string)) – tuple of x12 terminators used

fd: TextIO[source]
wr: pyx12.x12file.X12Writer[source]
seg_term: str[source]
ele_term: str[source]
subele_term: str[source]
repetition_term: str[source]
eol: str[source]
isa_control_num: str | None[source]
gs_control_num: str | None[source]
st_control_num: int[source]
vriic: str[source]
visit_root_pre(errh)[source]
Parameters:

errh (L{error_handler.err_handler}) – Error handler

Return type:

None

Uses: isa_node seg_data gs_node seg_data

visit_root_post(errh)[source]
Parameters:

errh (L{error_handler.err_handler}) – Error handler

Return type:

None

visit_isa_pre(err_isa)[source]
Parameters:

err_isa (L{error_handler.err_isa}) – ISA Loop error handler

Return type:

None

visit_isa_post(err_isa)[source]
Parameters:

err_isa (L{error_handler.err_isa}) – ISA Loop error handler

Return type:

None

visit_gs_pre(err_gs)[source]
Parameters:

err_gs (L{error_handler.err_gs}) – GS Loop error handler

Return type:

None

visit_gs_post(err_gs)[source]
Parameters:

err_gs (L{error_handler.err_gs}) – GS Loop error handler

Return type:

None

visit_st_pre(err_st)[source]
Parameters:

err_st (L{error_handler.err_st}) – ST Loop error handler

Return type:

None

visit_st_post(err_st)[source]
Parameters:

err_st (L{error_handler.err_st}) – ST Loop error handler

Return type:

None

visit_seg(err_seg)[source]
Parameters:

err_seg (L{error_handler.err_seg}) – Segment error handler

Return type:

None

visit_ele(err_ele)[source]
Parameters:

err_ele (L{error_handler.err_ele}) – Segment error handler

Return type:

None