docs: def excepthook(type, value, tb):
      """Report an exception."""
      if (issubclass(type, Error) or issubclass(type, lib50.Error)) and str(value):
          for line in str(value).split("\n"):
              cprint(str(line), "yellow")
      else:
          cprint(_("Sorry, something's wrong! Let sysadmins@cs50.harvard.edu know!"), "yellow")
  
      if excepthook.verbose:
          traceback.print_exception(type, value, tb)
  
      cprint(_("Submission cancelled."), "red")