errors

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package errors contains the error handler controller

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(c *gin.Context)

Handler is Gin middleware to handle errors.

Types

type MessagesResponse

type MessagesResponse struct {
	Message string `json:"message"`
}

MessagesResponse is a struct that contains the response body for the message

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL