commit | b08ff5ca63220597de0bc0d0e8b6f63d339944f9 | [log] [tgz] |
---|---|---|
author | 尘央 <xinyuzhou.zxy@alibaba-inc.com> | Sat Oct 02 11:10:34 2021 +0800 |
committer | 尘央 <xinyuzhou.zxy@alibaba-inc.com> | Sat Oct 02 11:10:34 2021 +0800 |
tree | b82f8929cd2df9e18f733df16d1f2d8c2c32325b | |
parent | 832dc685ac239142547304c80979bf46b2a83ef9 [diff] |
Add error handling part of README
This API spec adopts a rich error model developed by Google as described here. This model enables servers to return and clients to consume additional error details expressed as one or more protobuf messages. It further specifies a standard set of error message types to cover the most common needs (such as invalid parameters, quota violations, and stack traces).
The whole set of response codes are listed here, please refer to service.proto
file for details about the error responses of each RPC service.
Messages and enumerations of the API spec reserve the first 64 fields for the evolution of RocketMQ exclusively. Vendor-specific extensions to the protocol are supposed to use fields beyond 64.