Better error handling

This commit is contained in:
Dominik Schürmann committed 2013-09-16 13:00:47 +02:00
1 parent 4e23cf2edc
commit 363358d30b
7 files changed
+116 -68

No files matched your search

@@ -20,8 +20,10 @@ import android.os.Parcel;
import android.os.Parcelable;
public class OpenPgpError implements Parcelable {
public static final int ID_NO_OR_WRONG_PASSPHRASE = 1;
public static final int ID_NO_USER_IDS = 2;
public static final int GENERIC_ERROR = 0;
public static final int NO_OR_WRONG_PASSPHRASE = 1;
public static final int NO_USER_IDS = 2;
public static final int USER_INTERACTION_REQUIRED = 3;
int errorId;
String message;