An error handler can have a set of error patterns which are used to trap the errors the handler should handle.