error method

error

Writes an error log message.

Error log messages provide information about unrecoverable events in application flow.

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

See Also