multimessages

package
v3.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMessage = "Error"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Errors     map[string]error
	HttpStatus int
	CaseCode   string
}

func New

func New(httpStatus int, caseCode string, messages map[string]string) *Error

func (*Error) Get

func (e *Error) Get(key string) error

Jump to

Keyboard shortcuts

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