aboutsummaryrefslogtreecommitdiffstats
path: root/common/errors.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-06-05 07:14:21 +0000
committerWerner Koch <[email protected]>2003-06-05 07:14:21 +0000
commitbd820bad4faf5a2c644a3a087f477429c4d2e451 (patch)
tree6930e204fa47048dbe7c9d09440cf38c47d5b405 /common/errors.h
parent* options.skel: Use new hkp://subkeys.pgp.net as sample keyserver since (diff)
downloadgnupg-bd820bad4faf5a2c644a3a087f477429c4d2e451.tar.gz
gnupg-bd820bad4faf5a2c644a3a087f477429c4d2e451.zip
A small step for GnuPG but a huge leap for error codes.
(Sorry, it does not build currently - I need to check it in to avoid duplicate work.)
Diffstat (limited to 'common/errors.h')
-rw-r--r--common/errors.h85
1 files changed, 0 insertions, 85 deletions
diff --git a/common/errors.h b/common/errors.h
index 46cb6c10a..a5643f08a 100644
--- a/common/errors.h
+++ b/common/errors.h
@@ -23,91 +23,6 @@
#include "util.h"
-#ifndef GPG_ERR_SOURCE_DEFAULT
-/* Error numbers. Note, that they are onkly used for old code not yet
- converted to libgpg-error. */
-enum {
- GNUPG_EOF = -1,
- GNUPG_No_Error = 0,
- GNUPG_General_Error = 1,
- GNUPG_Out_Of_Core = 2,
- GNUPG_Invalid_Value = 3,
- GNUPG_IO_Error = 4,
- GNUPG_Resource_Limit = 5,
- GNUPG_Internal_Error = 6,
- GNUPG_Bad_Certificate = 7,
- GNUPG_Bad_Certificate_Chain = 8,
- GNUPG_Missing_Certificate = 9,
- GNUPG_No_Data = 10,
- GNUPG_Bad_Signature = 11,
- GNUPG_Not_Implemented = 12,
- GNUPG_Conflict = 13,
- GNUPG_Bug = 14,
- GNUPG_Read_Error = 15,
- GNUPG_Write_Error = 16,
- GNUPG_Incomplete_Line = 17,
- GNUPG_Invalid_Response = 18,
- GNUPG_No_Agent = 19,
- GNUPG_Agent_Error = 20,
- GNUPG_No_Public_Key = 21,
- GNUPG_No_Secret_Key = 22,
- GNUPG_File_Open_Error = 23,
- GNUPG_File_Create_Error = 24,
- GNUPG_File_Error = 25,
- GNUPG_Not_Supported = 26,
- GNUPG_Invalid_Data = 27,
- GNUPG_Assuan_Server_Fault = 28,
- GNUPG_Assuan_Error = 29, /* catch all assuan error */
- GNUPG_Invalid_Session_Key = 30,
- GNUPG_Invalid_Sexp = 31,
- GNUPG_Unsupported_Algorithm = 32,
- GNUPG_No_PIN_Entry = 33,
- GNUPG_PIN_Entry_Error = 34,
- GNUPG_Bad_PIN = 35,
- GNUPG_Bad_Passphrase = 36,
- GNUPG_Invalid_Name = 37,
- GNUPG_Bad_Public_Key = 38,
- GNUPG_Bad_Secret_Key = 39,
- GNUPG_Bad_Data = 40,
- GNUPG_Invalid_Parameter = 41,
- GNUPG_Tribute_to_D_A = 42,
- GNUPG_No_Dirmngr = 43,
- GNUPG_Dirmngr_Error = 44,
- GNUPG_Certificate_Revoked = 45,
- GNUPG_No_CRL_Known = 46,
- GNUPG_CRL_Too_Old = 47,
- GNUPG_Line_Too_Long = 48,
- GNUPG_Not_Trusted = 49,
- GNUPG_Canceled = 50,
- GNUPG_Bad_CA_Certificate = 51,
- GNUPG_Certificate_Expired = 52,
- GNUPG_Certificate_Too_Young = 53,
- GNUPG_Unsupported_Certificate = 54,
- GNUPG_Unknown_Sexp = 55,
- GNUPG_Unsupported_Protection = 56,
- GNUPG_Corrupted_Protection = 57,
- GNUPG_Ambiguous_Name = 58,
- GNUPG_Card_Error = 59,
- GNUPG_Card_Reset = 60,
- GNUPG_Card_Removed = 61,
- GNUPG_Invalid_Card = 62,
- GNUPG_Card_Not_Present = 63,
- GNUPG_No_PKCS15_App = 64,
- GNUPG_Not_Confirmed = 65,
- GNUPG_Configuration_Error = 66,
- GNUPG_No_Policy_Match = 67,
- GNUPG_Invalid_Index = 68,
- GNUPG_Invalid_Id = 69,
- GNUPG_No_Scdaemon = 70,
- GNUPG_Scdaemon_Error = 71,
- GNUPG_Unsupported_Protocol = 72,
- GNUPG_Bad_PIN_Method = 73,
- GNUPG_Card_Not_Initialized = 74,
- GNUPG_Unsupported_Operation = 75,
- GNUPG_Wrong_Key_Usage = 76,
-};
-#endif /* !GPG_ERR_SOURCE_DEFAULT */
-
/* Status codes - fixme: should go into another file */
enum {
STATUS_ENTER,