error method

On this page

error

Writes an error message to the console.

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.
Raises Description
ValueError Thrown when exception is None.

See Also

On this page