MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / responseForbidden

Method responseForbidden

api/pkg/handlers/handler.go:49–54  ·  view source on GitHub ↗
(c fiber.Ctx)

Source from the content-addressed store, hash-verified

47}
48
49func (h *handler) responseForbidden(c fiber.Ctx) error {
50 return c.Status(fiber.StatusForbidden).JSON(fiber.Map{
51 "status": "error",
52 "message": fiber.ErrForbidden.Message,
53 })
54}
55
56func (h *handler) responseUnprocessableEntity(c fiber.Ctx, errors url.Values, message string) error {
57 return c.Status(fiber.StatusUnprocessableEntity).JSON(fiber.Map{

Callers 1

DispatchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected