errors

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DeletionNotAllowed   = errors.Register(projectRoute, 101, "DeletionNotAllowed")
	EntityAlreadyExists  = errors.Register(projectRoute, 102, "EntityAlreadyExists")
	EntityNotFound       = errors.Register(projectRoute, 103, "EntityNotFound")
	IncorrectFormat      = errors.Register(projectRoute, 104, "IncorrectFormat")
	IncorrectMessage     = errors.Register(projectRoute, 105, "IncorrectMessage")
	InsufficientBalance  = errors.Register(projectRoute, 106, "InsufficientBalance")
	InvalidParameter     = errors.Register(projectRoute, 107, "InvalidParameter")
	InvalidRequest       = errors.Register(projectRoute, 108, "InvalidRequest")
	MetaDataError        = errors.Register(projectRoute, 109, "MetaDataError")
	NotAuthorized        = errors.Register(projectRoute, 110, "NotAuthorized")
	UninitializedUsage   = errors.Register(projectRoute, 111, "UninitializedUsage")
	UnsupportedParameter = errors.Register(projectRoute, 112, "UnsupportedParameter")
)

TODO create error types

View Source
var (
	MockError = errors.Register(projectRoute, 999, "MockError")
)

TODO move to errors

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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