Skip to content

Commit

Permalink
Add error codes for tenant API
Browse files Browse the repository at this point in the history
  • Loading branch information
hwupathum committed Oct 11, 2024
1 parent 4168651 commit 368fdf4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ public enum ErrorMessage {
ERROR_CODE_TENANT_DOES_NOT_MATCH_REGEX_PATTERN("TM-60017", "Invalid tenant domain: %s. " +
"Domain should match the regex pattern %s."),
ERROR_CODE_PRE_TENANT_CREATION_FAILED("TM-60018", "Error occurred in tenant pre creation."),
ERROR_CODE_TENANT_LIMIT_REACHED("TM-60019", "Maximum tenant limit reached.");
ERROR_CODE_TENANT_LIMIT_REACHED("TM-60019", "Maximum tenant limit reached."),
ERROR_CODE_OWNER_NOT_FOUND("TM-60020", "Tenant owner cannot be found for the provided id: %s."),
ERROR_CODE_PARTIALLY_CREATED_OR_UPDATED("TM-60021", "Tenant creation / update was successful " +
"with errors.");

private final String code;
private final String message;
Expand Down

0 comments on commit 368fdf4

Please sign in to comment.