errs

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extend

func Extend(err error, message string) error

Types

type AccountBalanceError

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

func NewAccountBalanceError

func NewAccountBalanceError(message string) *AccountBalanceError

func (AccountBalanceError) Error

func (a AccountBalanceError) Error() string

func (AccountBalanceError) Extend

func (a AccountBalanceError) Extend(s string) error

type AliasTaken

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

func NewAliasTaken

func NewAliasTaken(message string) *AliasTaken

func (AliasTaken) Error

func (a AliasTaken) Error() string

func (AliasTaken) Extend

func (a AliasTaken) Extend(s string) error

type AssetIsNotReissuable

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

func NewAssetIsNotReissuable

func NewAssetIsNotReissuable(message string) *AssetIsNotReissuable

func (AssetIsNotReissuable) Error

func (a AssetIsNotReissuable) Error() string

func (AssetIsNotReissuable) Extend

func (a AssetIsNotReissuable) Extend(s string) error

type AssetIssuedByOtherAddress

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

func NewAssetIssuedByOtherAddress

func NewAssetIssuedByOtherAddress(message string) *AssetIssuedByOtherAddress

func (AssetIssuedByOtherAddress) Error

func (AssetIssuedByOtherAddress) Extend

func (a AssetIssuedByOtherAddress) Extend(message string) error

type AssetUpdateInterval

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

func NewAssetUpdateInterval

func NewAssetUpdateInterval(message string) *AssetUpdateInterval

func (AssetUpdateInterval) Error

func (a AssetUpdateInterval) Error() string

func (AssetUpdateInterval) Extend

func (a AssetUpdateInterval) Extend(message string) error

type DuplicatedDataKeys

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

func NewDuplicatedDataKeys

func NewDuplicatedDataKeys(message string) *DuplicatedDataKeys

func (DuplicatedDataKeys) Error

func (a DuplicatedDataKeys) Error() string

func (DuplicatedDataKeys) Extend

func (a DuplicatedDataKeys) Extend(message string) error

type EmptyDataKey

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

func NewEmptyDataKey

func NewEmptyDataKey(message string) *EmptyDataKey

func (EmptyDataKey) Error

func (a EmptyDataKey) Error() string

func (EmptyDataKey) Extend

func (a EmptyDataKey) Extend(message string) error

type FeeValidation

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

func NewFeeValidation

func NewFeeValidation(message string) *FeeValidation

func (FeeValidation) Error

func (a FeeValidation) Error() string

func (FeeValidation) Extend

func (a FeeValidation) Extend(message string) error

type IExtend

type IExtend interface {
	Extend(message string) error
}

type InvalidName

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

func NewInvalidName

func NewInvalidName(message string) *InvalidName

func (InvalidName) Error

func (a InvalidName) Error() string

func (InvalidName) Extend

func (a InvalidName) Extend(message string) error

type Mistiming

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

func NewMistiming

func NewMistiming(message string) *Mistiming

func (Mistiming) Error

func (a Mistiming) Error() string

func (Mistiming) Extend

func (a Mistiming) Extend(message string) error

type NonPositiveAmount

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

func NewNonPositiveAmount

func NewNonPositiveAmount(amount int64, of string) *NonPositiveAmount

func (NonPositiveAmount) Error

func (a NonPositiveAmount) Error() string

type ToSelf

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

func NewToSelf

func NewToSelf(message string) *ToSelf

func (ToSelf) Error

func (a ToSelf) Error() string

func (ToSelf) Extend

func (a ToSelf) Extend(s string) error

type TooBigArray

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

func NewTooBigArray

func NewTooBigArray(message string) *TooBigArray

func (TooBigArray) Error

func (a TooBigArray) Error() string

func (TooBigArray) Extend

func (a TooBigArray) Extend(message string) error

type TransactionNotAllowedByScript

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

func NewTransactionNotAllowedByScript

func NewTransactionNotAllowedByScript(message string, asset []byte) *TransactionNotAllowedByScript

func (TransactionNotAllowedByScript) Asset

func (a TransactionNotAllowedByScript) Asset() []byte

func (TransactionNotAllowedByScript) Error

func (TransactionNotAllowedByScript) Extend

func (a TransactionNotAllowedByScript) Extend(message string) error

func (TransactionNotAllowedByScript) IsAssetScript

func (a TransactionNotAllowedByScript) IsAssetScript() bool

type TxValidationError

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

This struct provides message as is, without adding additional message info.

func NewTxValidationError

func NewTxValidationError(message string) *TxValidationError

func (TxValidationError) Error

func (a TxValidationError) Error() string

func (TxValidationError) Extend

func (a TxValidationError) Extend(s string) error

type UnknownAsset

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

func NewUnknownAsset

func NewUnknownAsset(message string) *UnknownAsset

func (UnknownAsset) Error

func (a UnknownAsset) Error() string

func (UnknownAsset) Extend

func (a UnknownAsset) Extend(message string) error

Jump to

Keyboard shortcuts

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