error method

error

Writes error log message; Error log messages provides information about unrecoverable events in application flow.

def error(self, message, exception):
    ...
Parameter Type Description
message str The error message.
exception str The exception.

See Also