any pattern
a Function to be evaluated when an error occurs. The error and the thread are passed as arguments to the function.