errors

package
v4.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpError

type HttpError struct {
	Timestamp string `json:"timestamp"`
	Status    int    `json:"status"`
	Error     string `json:"error"`
}

func ForbiddenRequestError

func ForbiddenRequestError() *HttpError

func MethodNotAllowed

func MethodNotAllowed() HttpError

func NotFound

func NotFound() HttpError

func UnauthorizedError

func UnauthorizedError() HttpError

Jump to

Keyboard shortcuts

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