RPKI Engine
1.0
|
Public Member Functions | |
def | __str__ |
def | from_exception |
def | raise_if_error |
Public Attributes | |
error_code | |
tag | |
Static Public Attributes | |
tuple | attributes = ("tag", "error_code") |
XML attributes for this element. | |
string | element_name = "report_error" |
error_text = None | |
string | text_attribute = "error_text" |
Name of the class attribute that holds the text value. |
<report_error/> element.
Definition at line 315 of file publication.py.
def rpki::publication::report_error_elt::__str__ | ( | self | ) |
Convert a base_elt object to string format.
Reimplemented from rpki::xml_utils::base_elt.
Definition at line 337 of file publication.py.
References error_code, rpki::left_right::report_error_elt::error_code, error_text, rpki::left_right::report_error_elt::error_text, tag, and rpki::left_right::report_error_elt::tag.
def rpki::publication::report_error_elt::from_exception | ( | cls, | |
e, | |||
tag = None |
|||
) |
Generate a <report_error/> element from an exception.
Definition at line 327 of file publication.py.
def rpki::publication::report_error_elt::raise_if_error | ( | self | ) |
Raise exception associated with this <report_error/> PDU.
Definition at line 346 of file publication.py.
References error_code, and rpki::left_right::report_error_elt::error_code.
tuple rpki::publication::report_error_elt::attributes = ("tag", "error_code") [static] |
XML attributes for this element.
Reimplemented from rpki::xml_utils::base_elt.
Definition at line 321 of file publication.py.
Referenced by irbe_cli::cmd_elt_mixin::client_getopt(), rpki::xml_utils::base_elt::make_elt(), and rpki::xml_utils::base_elt::read_attrs().
string rpki::publication::report_error_elt::element_name = "report_error" [static] |
Definition at line 320 of file publication.py.
Referenced by rpki::xml_utils::base_elt::endElement(), rpki::publication::publication_object_elt::endElement(), rpki::xml_utils::data_elt::endElement(), rpki::xml_utils::base_elt::make_elt(), rpki::xml_utils::data_elt::make_reply(), rpki::xml_utils::data_elt::serve_create(), rpki::left_right::data_elt::serve_fetch_all(), rpki::left_right::data_elt::serve_fetch_one_maybe(), and rpki::xml_utils::base_elt::startElement().
Definition at line 329 of file publication.py.
Referenced by __str__(), and raise_if_error().
rpki::publication::report_error_elt::error_text = None [static] |
Definition at line 324 of file publication.py.
Referenced by __str__().
string rpki::publication::report_error_elt::text_attribute = "error_text" [static] |
Name of the class attribute that holds the text value.
Reimplemented from rpki::xml_utils::text_elt.
Definition at line 322 of file publication.py.
Referenced by rpki::xml_utils::text_elt::endElement(), and rpki::xml_utils::text_elt::toXML().