exceptions

package
v0.0.0-...-6b5bbea Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorHandler

func ErrorHandler(ctx *fiber.Ctx, err error) error

func PanicLogging

func PanicLogging(err interface{})

Types

type BadReqquestError

type BadReqquestError struct {
	Message string
}

func (BadReqquestError) Error

func (badRequestError BadReqquestError) Error() string

type NotFoundError

type NotFoundError struct {
	Message string
}

func (NotFoundError) Error

func (notFoundError NotFoundError) Error() string

type UnauthorizedError

type UnauthorizedError struct {
	Message string
}

func (UnauthorizedError) Error

func (unathorizedError UnauthorizedError) Error() string

type ValidationError

type ValidationError struct {
	Message string
}

func (ValidationError) Error

func (validationError ValidationError) Error() string

Jump to

Keyboard shortcuts

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