SentinelHttpError is the HTTP sidekick of an error.
| 9 | |
| 10 | // SentinelHttpError is the HTTP sidekick of an error. |
| 11 | type SentinelHttpError struct { |
| 12 | status int |
| 13 | message string |
| 14 | } |
| 15 | |
| 16 | // NewSentinelHttpError creates a [SentinelHttpError]. The message will be sent |
| 17 | // as the response's body if returned from a handler, so make sure to not leak |
nothing calls this directly
no outgoing calls
no test coverage detected