StatusError represents an error with an associated HTTP status code.
| 18 | |
| 19 | // StatusError represents an error with an associated HTTP status code. |
| 20 | type StatusError struct { |
| 21 | Code int |
| 22 | Err error |
| 23 | } |
| 24 | |
| 25 | // Allows StatusError to satisfy the error interface. |
| 26 | func (se *StatusError) Error() string { |
nothing calls this directly
no outgoing calls
no test coverage detected