HttpError returns the status and message.
()
| 30 | |
| 31 | // HttpError returns the status and message. |
| 32 | func (err SentinelHttpError) HttpError() (int, string) { |
| 33 | return err.status, err.message |
| 34 | } |
| 35 | |
| 36 | // sentinelWrappedError contains both the error which will logged and the |
| 37 | // sidekick [SentinelHttpError]. |
nothing calls this directly
no outgoing calls
no test coverage detected