errors

package
v0.0.0-...-c99e9fc Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 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 ErrConflict

type ErrConflict struct {
	Resource string
	Index    string
}

func (ErrConflict) Error

func (e ErrConflict) Error() string

type ErrInvalidCredentials

type ErrInvalidCredentials struct{}

func (ErrInvalidCredentials) Error

func (e ErrInvalidCredentials) Error() string

type ErrInvalidNumericalRange

type ErrInvalidNumericalRange struct {
	Key   string
	Value int

	Min int
	Max int
}

ErrInvalidNumericalRange is raised when a numerical value is out of range.

func (ErrInvalidNumericalRange) Error

func (e ErrInvalidNumericalRange) Error() string

Error implementation for ErrInvalidNumericalRange.

type ErrMissingAtLeast

type ErrMissingAtLeast struct {
	AtLeast int
	Fields  []string
}

func (ErrMissingAtLeast) Error

func (e ErrMissingAtLeast) Error() string

type ErrMissingAuth

type ErrMissingAuth struct{}

func (ErrMissingAuth) Error

func (e ErrMissingAuth) Error() string

type ErrMissingField

type ErrMissingField struct {
	Field string
}

func (ErrMissingField) Error

func (e ErrMissingField) Error() string

type ErrMissingImplementation

type ErrMissingImplementation struct {
	Interface string
}

func (ErrMissingImplementation) Error

func (err ErrMissingImplementation) Error() string

type ErrMissingTransaction

type ErrMissingTransaction struct{}

func (ErrMissingTransaction) Error

func (e ErrMissingTransaction) Error() string

type ErrNotFound

type ErrNotFound struct {
	Resource string
	Index    string
}

func (ErrNotFound) Error

func (e ErrNotFound) Error() string

type ErrNotImplemented

type ErrNotImplemented struct {
	Version string
}

func (ErrNotImplemented) Error

func (err ErrNotImplemented) Error() string

type ErrNullRequest

type ErrNullRequest struct{}

func (ErrNullRequest) Error

func (e ErrNullRequest) Error() string

type ErrUnknown

type ErrUnknown struct {
	Err error
}

func (ErrUnknown) Error

func (err ErrUnknown) Error() string

Jump to

Keyboard shortcuts

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