Inherits rpki::xml_utils::text_elt, and rpki::publication::publication_namespace.
Inherited by irbe_cli.report_error_elt.
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 320 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 342 of file publication.py.
def rpki.publication.report_error_elt.from_exception | ( | cls, | ||
e, | ||||
tag = None | ||||
) |
Generate a <report_error/> element from an exception.
Definition at line 332 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 351 of file publication.py.
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 326 of file publication.py.
string rpki.publication.report_error_elt.element_name = "report_error" [static] |
Definition at line 325 of file publication.py.
Definition at line 338 of file publication.py.
rpki.publication.report_error_elt.error_text = None [static] |
Definition at line 329 of file publication.py.
Definition at line 337 of file publication.py.
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 327 of file publication.py.