StatusError is an error that has an HTTP status code. When returned from an operation handler, this sets the response status code before sending it to the client.
| 146 | // an operation handler, this sets the response status code before sending it |
| 147 | // to the client. |
| 148 | type StatusError interface { |
| 149 | GetStatus() int |
| 150 | Error() string |
| 151 | } |
| 152 | |
| 153 | // HeadersError is an error that has HTTP headers. When returned from an |
| 154 | // operation handler, these headers are set on the response before sending it |
no outgoing calls
no test coverage detected
searching dependent graphs…