errors

package
v0.0.0-...-0953be8 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BadRequest

type BadRequest struct{}

BadRequest represents an invalid or unexpectedly formatted request

func (BadRequest) Error

func (b BadRequest) Error() string

type Conflict

type Conflict struct{}

Conflict represents a collision between a new and an already existing resource

func (Conflict) Error

func (c Conflict) Error() string

type Internal

type Internal struct{}

Internal represents an internal server error

func (Internal) Error

func (i Internal) Error() string

type KitSquidError

type KitSquidError error

KitSquidError represent a general error in this application

type NotFound

type NotFound struct{}

NotFound represents an entity or resource not being found

func (NotFound) Error

func (n NotFound) Error() string

type Unauthorized

type Unauthorized struct{}

Unauthorized represents a user not being authenticated or allowed to view a certain resource

func (Unauthorized) Error

func (u Unauthorized) Error() string

Jump to

Keyboard shortcuts

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