docs: def unhandled(exception, opt):
      """ Handle uncaught/unexpected errors and be polite about it"""
      exmod = type(exception).__module__
      name = "%s.%s" % (exmod, type(exception).__name__)
      # this is a Vault error
      if exmod == 'aomi.exceptions' or exmod == 'cryptorito':
          # This may be set for Validation or similar errors
          if hasattr(exception, 'source'):
              output(exception.message, opt, extra=exception.source)
          else:
              output(exception.message, opt)
  
      else:
          output("Unexpected error: %s" % name, opt)
  
      sys.exit(1)