The variable cl:*debugger-hook* can be used to handle errors that are not caught by other handlers.
cl:*debugger-hook*