Error
Instead of utilizing HTTP status codes to describe node errors (which often do not have a good analog), rich errors are returned using this object.
Properties
Name | Type | Description | Required |
---|---|---|---|
code | Int (>= 0) | Code is a network-specific error code. If desired, this code can be equivalent to an HTTP status code. | True |
message | String | Message is a network-specific error message. | True |
retriable | Boolean | An error is retriable if the same request may succeed if submitted again. | True |
Example
{
"code": 0,
"message": "string",
"retriable": true
}