A ServerError is a generic 500 error.
| 212 | |
| 213 | // A ServerError is a generic 500 error. |
| 214 | type ServerError string |
| 215 | |
| 216 | func (e ServerError) Error() string { return string(e) } |
| 217 | func (ServerError) HTTPCode() int { return http.StatusInternalServerError } |
no outgoing calls
no test coverage detected