Skip to content

Commit

Permalink
Make error codes constansts public
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolaseu committed Dec 7, 2016
1 parent 8ee88a0 commit b8c461c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@

public class GuardianException extends RuntimeException {

private static final String ERROR_INVALID_OTP = "invalid_otp";
private static final String ERROR_INVALID_TOKEN = "invalid_token";
private static final String ERROR_DEVICE_ACCOUNT_NOT_FOUND = "device_account_not_found";
private static final String ERROR_ENROLLMENT_NOT_FOUND = "enrollment_not_found";
private static final String ERROR_ENROLLMENT_TRANSACTION_NOT_FOUND = "enrollment_transaction_not_found";
private static final String ERROR_LOGIN_TRANSACTION_NOT_FOUND = "login_transaction_not_found";
public static final String ERROR_INVALID_OTP = "invalid_otp";
public static final String ERROR_INVALID_TOKEN = "invalid_token";
public static final String ERROR_DEVICE_ACCOUNT_NOT_FOUND = "device_account_not_found";
public static final String ERROR_ENROLLMENT_NOT_FOUND = "enrollment_not_found";
public static final String ERROR_ENROLLMENT_TRANSACTION_NOT_FOUND = "enrollment_transaction_not_found";
public static final String ERROR_LOGIN_TRANSACTION_NOT_FOUND = "login_transaction_not_found";

private final Map<String, Object> errorResponse;
private final String errorCode;
Expand Down

0 comments on commit b8c461c

Please sign in to comment.