errors

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidMsgType      = new(1, "invalid msg type")
	ErrInvalidRequest      = new(2, "invalid request")
	ErrNotSatisfiedOptions = new(3, "not satisfied option parameter")
	ErrFailedToMarshal     = new(4, "failed to marshal")
	ErrFailedToUnmarshal   = new(5, "failed to unmarshal")
	ErrNotSupport          = new(6, "not support xpla.go")
	ErrNotFound            = new(7, "not found")
	ErrTxFailed            = new(8, "tx failed")
	ErrInsufficientParams  = new(9, "insufficient parameters")
	ErrKeyNotFound         = new(10, "key not found")
	ErrAccountNotMatch     = new(11, "account not match")
	ErrHttpRequest         = new(12, "HTTP request error")
	ErrGrpcRequest         = new(13, "gRPC request error")
	ErrEvmRpcRequest       = new(14, "EVM RPC request error")
	ErrRpcRequest          = new(15, "RPC request error")
	ErrCannotConvert       = new(16, "cannot convert type")
	ErrParse               = new(17, "parse error")
	ErrSdkClient           = new(18, "cosmos sdk client set error")
	ErrAlreadyExist        = new(19, "already exist")
)

Return error code and message generating on the xpla.go.

Functions

This section is empty.

Types

type XGoError

type XGoError struct {
	// contains filtered or unexported fields
}

func (XGoError) Desc

func (x XGoError) Desc() string

func (XGoError) ErrCode

func (x XGoError) ErrCode() uint64

Jump to

Keyboard shortcuts

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