Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error code #149

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public enum EventBridgeErrorCode implements BaseErrorCode {
SecretManagerAPICreateSecretNameFailed(409, "SecretManagerAPICreateSecretNameFailed", "Create secret manager api secret name [{0}] failed"),
SecretManagerAPIDeleteSecretFailed(409, "SecretManagerAPIDeleteSecretFailed", "Delete secret manager api secret [{0}] failed"),
SecretManagerAPIGetSecretValueFailed(409, "SecretManagerAPIGetSecretValueFailed", "Get secret manager api secret value [{0}] failed"),
SecretManagerAPIUpdateSecretNameFailed(409, "SecretManagerAPIUpdateSecretNameFailed", "Update secret manager api secret value failed"),

HttpApiParametersIsNull(409, "HttpApiParametersIsNull", "HttpApiParameters is null!"),
EndpointIsBlank(409, "EndpointIsBlank", "Endpoint is blank!"),
Expand All @@ -134,7 +135,10 @@ public enum EventBridgeErrorCode implements BaseErrorCode {
ClientSecretLengthExceed(409, "ClientSecretLengthExceed", "ClientSecret length cannot exceed 127!"),
AuthorizationEndpointLengthExceed(409, "AuthorizationEndpointLengthExceed", "Authorization endpoint length cannot exceed 127!"),
NetworkParametersIsEmpty(409, "NetworkParametersIsEmpty", "Network required parameter is empty!"),
RequestParameterInvalid(409, "RequestParameterInvalid", "Request parameter Invalid!");
RequestParameterInvalid(409, "RequestParameterInvalid", "Request parameter Invalid!"),
CreatePrivateNetworkFailed(409, "CreatePrivateNetworkFailed", "Create private network failed!"),
DeletePrivateNetworkFailed(409, "DeletePrivateNetworkFailed", "Delete private network failed!"),
GetTotalQuotaFailed(409, "GetTotalQuotaFailed", "Query total quota failed!");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这几个参数异常信息提示不够明确


private final int httpCode;
private final String code;
Expand Down