APIError is included in all API responses if there was an error.
| 33 | |
| 34 | // APIError is included in all API responses if there was an error. |
| 35 | APIError struct { |
| 36 | Code int `json:"code"` |
| 37 | ErrorCode ErrorCode `json:"err_code"` |
| 38 | Description string `json:"description,omitempty"` |
| 39 | } |
| 40 | |
| 41 | // ErrorCode represents error_code returned in response from JetStream API. |
| 42 | ErrorCode uint16 |
nothing calls this directly
no outgoing calls
no test coverage detected