set Custom Exception Handler
Sets a custom handler to manage exceptions.
Parameters
handler
A lambda function that takes an exception of type Exception as input and performs custom exception handling.
Sets a custom handler to manage exceptions.
Parameters
Sets a custom handler to manage exceptions.
Parameters
handler
A lambda function that takes three parameters: The lambda function takes three parameters:
A string representing the tag of the log message.
An integer representing the severity.
An exception of type Exception representing the exception that occurred.