You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by li...@apache.org on 2022/03/29 02:10:09 UTC
[rocketmq-apis] branch v2 updated: Add 500 Internal Server Error
This is an automated email from the ASF dual-hosted git repository.
lizhanhui pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/rocketmq-apis.git
The following commit(s) were added to refs/heads/v2 by this push:
new 09ed3a9 Add 500 Internal Server Error
09ed3a9 is described below
commit 09ed3a91fecaeb0fe796481aa6d251c1a3cda823
Author: Li Zhanhui <li...@gmail.com>
AuthorDate: Tue Mar 29 02:09:59 2022 +0000
Add 500 Internal Server Error
---
apache/rocketmq/v2/definition.proto | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/apache/rocketmq/v2/definition.proto b/apache/rocketmq/v2/definition.proto
index cedc91c..7e0be63 100644
--- a/apache/rocketmq/v2/definition.proto
+++ b/apache/rocketmq/v2/definition.proto
@@ -442,6 +442,17 @@ enum Code {
// Message property is not match the message type.
MESSAGE_PROPERTY_DOES_NOT_MATCH_MESSAGE_TYPE = 20;
+
+ // Code indicates that the server encountered an unexpected condition
+ // that prevented it from fulfilling the request.
+ // This error response is a generic "catch-all" response.
+ // Usually, this indicates the server cannot find a better alternative
+ // error code to response. Sometimes, server administrators log error
+ // responses like the 500 status code with more details about the request
+ // to prevent the error from happening again in the future.
+ //
+ // See https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
+ INTERNAL_SERVER_ERROR = 500;
}
message Status {