Skip to content

Commit

Permalink
chore: add missing error codes for gmc connection api calls
Browse files Browse the repository at this point in the history
TIS21-5974: Revalidation: Add Error Codes 100 and 160 to list of known GMC errors
  • Loading branch information
CaiWillis committed Apr 29, 2024
1 parent ac7172a commit 06e9096
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,16 @@ public enum GmcResponseCode {
INTERNAL_ERROR("98", "Internal error"),
INVALID_CREDENTIALS("99", "Invalid Credentials (user name / password / IP address)"),
DOCTOR_ALREADY_ASSOCIATED("100", "Doctor already associated with your Designated Body"),
MISSING_INTERNAL_USER("110", "Missing Internal User"),
MISSING_OR_INVALID_REASON_CODE("120", "Missing / Invalid Change Code (Reason)"),
DOCTOR_REVALIDATION_LOCKED("106",
"Doctor has a revalidation lock applied. You should call GMC Contact Centre to have this reviewed and/or lifted.")

MISSING_INTERNAL_USER("110","Missing Internal User"),

MISSING_OR_INVALID_REASON_CODE("120","Missing / Invalid Change Code (Reason)"),

DOCTOR_NOT_ASSOCIATED_WITH_DESIGNATED_BODY("140",
"Doctor not associated with your Designated Body"),

DOCTOR_DB_HISTORY_LOCKED("160",
"Doctor’s DB History is locked, please contact the GMC Revalidation team");

Expand Down Expand Up @@ -83,4 +89,4 @@ public String getCode() {
public String getMessage() {
return message;
}
}
}

0 comments on commit 06e9096

Please sign in to comment.