errorHandling

package
v0.0.0-...-207707d Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ThrowError

func ThrowError(w http.ResponseWriter, statusCode int, responseMessage string, errorMessage *error)

Types

type Error

type Error struct {
	// contains filtered or unexported fields
}

func (*Error) Init

func (e *Error) Init(w http.ResponseWriter, statusCode int, responseMessage string, errorMessage *error)

Jump to

Keyboard shortcuts

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