types

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const C4eCodespace = "c4e"

C4eCodespace is the codespace for all commen C4E errors

Variables

View Source
var (
	ErrAmount                          = errors.Register(C4eCodespace, 2, "wrong amount value")
	ErrAlreadyExists                   = errors.Register(C4eCodespace, 3, "entity already exists")
	ErrSendCoins                       = errors.Register(C4eCodespace, 4, "failed to send coins")
	ErrAccountNotAllowedToReceiveFunds = errors.Register(C4eCodespace, 5, "account is not allowed to receive")
	ErrInvalidAccountType              = errors.Register(C4eCodespace, 6, "invalid account type")
	ErrParsing                         = errors.Register(C4eCodespace, 7, "failed to parse")
	ErrParam                           = errors.Register(C4eCodespace, 8, "wrong param value")
)

C4e common 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