| 19 | } |
| 20 | |
| 21 | type Errors struct { |
| 22 | XMLName xml.Name `json:"-" xml:"errors"` |
| 23 | Error []Error `json:"errors"` |
| 24 | } |
| 25 | |
| 26 | func ReturnError(c *fiber.Ctx, message string, error_code int, http_error int) error { |
| 27 | if c.Query("suppress_response_codes") != "true" { |
nothing calls this directly
no outgoing calls
no test coverage detected