errors

package
v0.0.0-...-925651e Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(title string, e error) bool

Types

type AppError

type AppError struct {
	Error           error
	Message         interface{}
	Code            interface{}
	ValidationError interface{}
}

func InternalServerError

func InternalServerError(message string, err error) *AppError

Jump to

Keyboard shortcuts

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