APIError any error that implements this interface will return an API response with the provided status code and error message body
| 226 | // APIError any error that implements this interface will return an API response |
| 227 | // with the provided status code and error message body |
| 228 | type APIError interface { |
| 229 | Code() int |
| 230 | error |
| 231 | } |
| 232 | |
| 233 | type err struct { |
| 234 | code int |
no outgoing calls
no test coverage detected