errors

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainError

type DomainError interface {
	Error() string
	StatusCode() int
}

type GenericDomainError added in v0.37.0

type GenericDomainError struct {
	Code    int
	Message string
}

func (*GenericDomainError) Error added in v0.37.0

func (err *GenericDomainError) Error() string

func (*GenericDomainError) StatusCode added in v0.37.0

func (err *GenericDomainError) StatusCode() int

type NotEnoughPermissionsError

type NotEnoughPermissionsError struct {
}

func (NotEnoughPermissionsError) Error

func (err NotEnoughPermissionsError) Error() string

func (NotEnoughPermissionsError) StatusCode

func (err NotEnoughPermissionsError) StatusCode() int

type UnauthorizedError

type UnauthorizedError struct {
	Message string
}

func (UnauthorizedError) Error

func (err UnauthorizedError) Error() string

func (UnauthorizedError) StatusCode

func (err UnauthorizedError) StatusCode() int

Jump to

Keyboard shortcuts

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