errors

package
v0.0.0-...-1cbff02 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorInvalidId                        = errors.New("invalid id")
	ErrorInvalidHttpMethod                = errors.New("invalid http method")
	ErrorInvalidDuelistFieldsJson         = errors.New("invalid duelist fields json")
	ErrorQueryToCreateDuelistIsInvalid    = errors.New("query to create duelist is invalid")
	ErrorUnableToCreateDuelist            = errors.New("unable to create duelist")
	ErrorInvalidDate                      = errors.New("invalid date")
	ErrorDateMustBeLessThanTheCurrentDate = errors.New("date must be less than the current date")
	ErrorCepServiceIsUnavailable          = errors.New("cep service is unavailable")
	ErrorInvalidCep                       = errors.New("invalid cep")
	ErrorInvalidRequest                   = errors.New("invalid request")
	ErrorInvalidResponseBody              = errors.New("invalid response body")
	ErrorInvalidDateFormat                = errors.New("invalid date format, expected dd/mm/yyyy")
	ErrorUnableToListDuelists             = errors.New("unable to list duelists")
	ErrorUnableToFindDuelists             = errors.New("unable to find duelists")
	ErrorUnableToScanDuelist              = errors.New("unable to scan duelist")
	ErrorDuelistNotFound                  = errors.New("duelist not found")
	ErrorUnableToDeleteDuelist            = errors.New("unable to delete duelist")
	ErrorQueryToDeleteDuelistIsInvalid    = errors.New("query to delete duelist is invalid")
	ErrorQueryToUpdateDuelistIsInvalid    = errors.New("query to update duelist is invalid")
	ErrorUnableToUpdateDuelist            = errors.New("unable to update duelist")
)

Functions

func Join

func Join(err error, join error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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