Called on all kinds of errors and exceptions.\n\ Whenever an error or other uncaught throw occurs on any callback,\n\ whether a hook, a mouse binding, a key binding, a menu entry, a file\n\ being processed, or anything else, error-hook will be invoked. Each\n\ procedure in the hook will be called with the throw arguments; these\n\ will generally include information about the nature of the error.