err.js 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. // Generated by IcedCoffeeScript 1.7.1-c
  2. (function() {
  3. var E, ie, log;
  4. log = require('./log');
  5. ie = require('iced-error');
  6. exports.E = E = ie.make_errors({
  7. GENERIC: "Generic error",
  8. INVAL: "Invalid value",
  9. NOT_FOUND: "Not found",
  10. BAD_QUERY: "Bad query",
  11. DUPLICATE: "Duplicated value",
  12. BAD_MAC: "Message authentication failure",
  13. BAD_SIZE: "Wrong size",
  14. BAD_PREAMBLE: "Premable mismatch or bad file magic",
  15. BAD_IO: "bad input/output operation",
  16. BAD_HEADER: "Bad metadata in file",
  17. BAD_VALUE: "bad value",
  18. BAD_SEQNO: "wrong sequence number",
  19. BAD_PAYLOAD_HASH: "bad payload hash from server",
  20. BAD_CRYPTOCURRENCY_ADDRESS: "bad cryptocurrency address",
  21. UNSUPPORTED_CRYPTOCURRENCY_ADDRESS: "cryptocurrency protocol not supported",
  22. INTERNAL: "internal assertion failed",
  23. MSGPACK: "Message pack format failure",
  24. BAD_PW_OR_MAC: "Bad password or file was corrupted",
  25. INIT: "Initialization error",
  26. DAEMON: "Error in connecting to or launching daemon",
  27. ARGS: "Error in argument parsing",
  28. UNIMPLEMENTED: "Feature not implemented",
  29. CONFIG: "Configuration file error",
  30. HTTP: "HTTP status code error",
  31. KEYBASE: "Server-side failure",
  32. CANCEL: "Operation canceled",
  33. GPG: "Command line error",
  34. NOT_LOGGED_IN: "Not logged in",
  35. CORRUPTION: "Corruption",
  36. VERSION_ROLLBACK: "Verion rollback detected",
  37. NO_REMOTE_KEY: "No remote key found",
  38. NO_LOCAL_KEY: "No local key found",
  39. IMPORT: "Error importing key",
  40. VERIFY: "Signature verification problem",
  41. SCRAPE: "Scraper error",
  42. REMOTE_CHECK: "Remote check failure",
  43. PGP_ID_COLLISION: "PGP ID collision error",
  44. UID_MISMATCH: "userIDs didn't match",
  45. USERNAME_MISMATCH: "usernames didn't match",
  46. REMOTE_PROOF: "error in sanity checking a remote proof",
  47. UNTRACK: "error in untracking",
  48. UNKNOWN_SERVICE: "unknown service",
  49. PROOF_NOT_AVAILABLE: "proof isn't available",
  50. WRONG_SIGNER: "Expected a signature, but by someone else",
  51. REQUIRED_UPGRADE: "Software upgrade required",
  52. PARSE_ASSERTION: "Bad assertion; couldn't parse it",
  53. FAILED_ASSERTION: "Failed assertion",
  54. KEY_EXISTS: "Key already exists",
  55. GENERATE: "key generation error",
  56. MISSING_PW: "missing passphrase",
  57. PROOF_EXISTS: "Proof already exists",
  58. SELF: "Can't perform this action on yourself",
  59. NO_USERNAME: "Your username isn't known",
  60. CLEAN_CANCEL: "Cleanly bailed out",
  61. PATCH: "Key patching failed",
  62. LOOPBACK: "Error in HKP loopback",
  63. NOT_CONFIGURED: "No user configured",
  64. HOST: "Host is down",
  65. SECURITY: "Security error",
  66. REQ_NOT_FOUND: "host not found",
  67. REQ_CONN_REFUSED: "connection refused",
  68. REQ_GENERIC: "generic error",
  69. KEY_NOT_TRUSTED: "key not trusted",
  70. KEY_NOT_FOUND: "key not found",
  71. REVOKED: "revoked",
  72. REVOKE: "error in revocation",
  73. KARMA: "insufficient karma",
  74. BAD_MERKLE_LEAF: "bad merkle leaf found",
  75. AMBIGUITY: "Multiple results when we wanted 1",
  76. TOR_SECURITY: "security assumptions changed over Tor",
  77. TOR_STRICT: "Failure of basic site functionality with strict mode"
  78. });
  79. exports.GE = require('gpg-wrapper').E;
  80. }).call(this);