errors

package
v1.0.0-rc-0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrNone = iota
	ErrGeneric
	ErrInvalidBlock
	ErrInvalidAmount
	ErrInvalidFee
	ErrInvalidAddress
	ErrInvalidPublicKey
	ErrInvalidPrivateKey
	ErrInvalidSignature
	ErrInvalidTx
	ErrInvalidMemo
	ErrInvalidProof
	ErrInvalidHeight
	ErrInvalidRound
	ErrInvalidProposal
	ErrInvalidVote
	ErrInvalidMessage
	ErrInvalidConfig
	ErrDuplicateVote

	ErrCount
)

Variables

This section is empty.

Functions

func Code

func Code(err error) int

func Error

func Error(code int) error

func Errorf

func Errorf(code int, format string, a ...interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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