Skip to content

Commit

Permalink
feat: map AtInvalidEnrollmentException -> AT0029
Browse files Browse the repository at this point in the history
  • Loading branch information
srieteja committed Sep 27, 2023
1 parent cf760b2 commit ba90b6d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/at_commons/lib/src/exception/error_message.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ const Map error_codes = {
'IllegalArgumentException': 'AT0022',
'AtTimeoutException': 'AT0023',
'ServerIsPausedException': 'AT0024',
'AtThrottleLimitException': 'AT0028'
'AtThrottleLimitException': 'AT0028',
'AtInvalidEnrollmentException': 'AT0029',
};

// ignore: constant_identifier_names
Expand Down Expand Up @@ -50,7 +51,7 @@ const Map error_description = {
'AT0025': 'Apkam Auth Denied',
'AT0026': 'Apkam Auth Failed',
'AT0027': 'Apkam Access Revoked',
'AT0028': 'Apkam Enrollment Expired',
'AT0029': 'Too Many Requests',
'AT0028': 'Too Many Requests',
'AT0029': 'Apkam Enrollment Expired',
'AT0030': 'Invalid Enrollment Status'
};

0 comments on commit ba90b6d

Please sign in to comment.