StatusResponse.msg¶
Overview¶
StatusResponse.msg is a common message type used to indicate the outcome of a service call. It pairs a numeric code (from StatusCode.msg) with a human-readable message.
Fields¶
Field |
Type |
Description |
|---|---|---|
|
|
One of the status codes defined in |
|
|
A human-readable description of the outcome. |
Usage¶
Most service definitions in this package return a
StatusResponseas part of their response, allowing callers to check success uniformly.A call is successful when
codeequalsStatusCode.OK(0); otherwisemessageusually carries an explanation.