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

Method responseInternalServerError

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

Source from the content-addressed store, hash-verified

24}
25
26func (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
33func (h *handler) responseUnauthorized(c fiber.Ctx) error {
34 return c.Status(fiber.StatusUnauthorized).JSON(fiber.Map{

Callers 15

MessagesMethod · 0.80
GetAttachmentMethod · 0.80
IndexMethod · 0.80
UpsertMethod · 0.80
DeleteMethod · 0.80
UpsertFCMTokenMethod · 0.80
EventMethod · 0.80
IndexMethod · 0.80
IndexMethod · 0.80
DeleteMethod · 0.80
StoreMethod · 0.80
UpdateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected