Better error handling
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user