(c fiber.Ctx)
| 24 | } |
| 25 | |
| 26 | func (h *handler) responseInternalServerError(c fiber.Ctx) error { |
| 27 | return c.Status(fiber.StatusInternalServerError).JSON(fiber.Map{ |
| 28 | "status": "error", |
| 29 | "message": "We ran into an internal error while handling the request.", |
| 30 | }) |
| 31 | } |
| 32 | |
| 33 | func (h *handler) responseUnauthorized(c fiber.Ctx) error { |
| 34 | return c.Status(fiber.StatusUnauthorized).JSON(fiber.Map{ |
no outgoing calls
no test coverage detected