Package duplicity :: Module log :: Class ErrorCode
[hide private]
[frames] | no frames]

Class ErrorCode

source code

Enumeration class to hold error code values. These values should never change, as frontends rely upon them. Don't use 0 or negative numbers. This code is returned by duplicity to indicate which error occurred via both exit code and log.

Class Variables [hide private]
  generic = 1
  command_line = 2
  hostname_mismatch = 3
  no_manifests = 4
  mismatched_manifests = 5
  unreadable_manifests = 6
  cant_open_filelist = 7
  bad_url = 8
  bad_archive_dir = 9
  bad_sign_key = 10
  restore_dir_exists = 11
  verify_dir_doesnt_exist = 12
  backup_dir_doesnt_exist = 13
  file_prefix_error = 14
  globbing_error = 15
  redundant_inclusion = 16
  inc_without_sigs = 17
  no_sigs = 18
  restore_dir_not_found = 19
  no_restore_files = 20
  mismatched_hash = 21
  unsigned_volume = 22
  user_error = 23
  boto_old_style = 24
  boto_lib_too_old = 25
  boto_calling_format = 26
  ftp_ncftp_missing = 27
  ftp_ncftp_too_old = 28
  exception = 30
  gpg_failed = 31
  s3_bucket_not_style = 32
  not_implemented = 33
  get_freespace_failed = 34
  not_enough_freespace = 35
  get_ulimit_failed = 36
  maxopen_too_low = 37
  connection_failed = 38
  restart_file_not_found = 39
  gio_not_available = 40
  source_dir_mismatch = 42
  ftps_lftp_missing = 43
  volume_wrong_size = 44
  enryption_mismatch = 45
  backend_error = 50
  backend_permission_denied = 51
  backend_not_found = 52
  backend_no_space = 53