def __init__(self, status, msg_error: str=None):
"""Create an HTML Tree for status error response.
:param status: (HTTPDStatus) The status of the response. (DO NOT typing it for circular import problem)
:param msg_error: (str) Optional parameter, error message to display in the page for more information
"""
text = f'{status.code} : {status.HTTPD_STATUS[status.code]}'
super(HTMLTreeError, self).__init__(f'tree_{status.code}')
self.head.title(text)
h1 = self.element('h1')
h1.set_value(text)
if msg_error is not None:
html_error = self.element('p')
html_error.set_value(msg_error)