Documentation ¶
Index ¶
- func Extend(err error, message string) error
- type AccountBalanceError
- type AliasTaken
- type AssetIsNotReissuable
- type AssetIssuedByOtherAddress
- type AssetUpdateInterval
- type DuplicatedDataKeys
- type EmptyDataKey
- type FeeValidation
- type IExtend
- type InvalidName
- type Mistiming
- type NonPositiveAmount
- type ToSelf
- type TooBigArray
- type TransactionNotAllowedByScript
- type TxValidationError
- type UnknownAsset
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 (a AssetIssuedByOtherAddress) Error() string
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 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 ¶
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 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 (a TransactionNotAllowedByScript) Error() string
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
Click to show internal directories.
Click to hide internal directories.