Documentation
¶
Index ¶
- type Description
- type Field
- type FieldFunc
- type Fields
- type InvalidAccount
- type InvalidAmount
- type InvalidArguments
- type InvalidAuthorizers
- type InvalidBlock
- type InvalidCurrency
- type InvalidIntent
- type InvalidKey
- type InvalidNetwork
- type InvalidOperations
- type InvalidPayer
- type InvalidPayload
- type InvalidProposer
- type InvalidReceiver
- type InvalidScript
- type InvalidSignature
- type InvalidSignatures
- type InvalidTransaction
- type UnknownBlock
- type UnknownCurrency
- type UnknownTransaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Description ¶
func NewDescription ¶
func NewDescription(text string, fields ...FieldFunc) Description
func (Description) String ¶
func (d Description) String() string
type FieldFunc ¶
type FieldFunc func(*Fields)
func WithString ¶
func WithStrings ¶
func WithUint64 ¶
type InvalidAccount ¶
type InvalidAccount struct {
Description Description
Address string
}
func (InvalidAccount) Error ¶
func (i InvalidAccount) Error() string
type InvalidAmount ¶ added in v1.2.0
type InvalidAmount struct {
Description Description
Amount string
}
func (InvalidAmount) Error ¶ added in v1.2.0
func (i InvalidAmount) Error() string
type InvalidArguments ¶ added in v1.2.0
type InvalidArguments struct {
Description Description
Have uint
Want uint
}
func (InvalidArguments) Error ¶ added in v1.2.0
func (i InvalidArguments) Error() string
type InvalidAuthorizers ¶ added in v1.2.0
type InvalidAuthorizers struct {
Description Description
Have uint
Want uint
}
func (InvalidAuthorizers) Error ¶ added in v1.2.0
func (i InvalidAuthorizers) Error() string
type InvalidBlock ¶
type InvalidBlock struct {
Description Description
}
func (InvalidBlock) Error ¶
func (i InvalidBlock) Error() string
type InvalidCurrency ¶
type InvalidCurrency struct {
Description Description
Symbol string
Decimals uint
}
func (InvalidCurrency) Error ¶
func (i InvalidCurrency) Error() string
type InvalidIntent ¶ added in v1.2.0
type InvalidIntent struct {
Description Description
}
func (InvalidIntent) Error ¶ added in v1.2.0
func (i InvalidIntent) Error() string
type InvalidKey ¶ added in v1.2.0
type InvalidKey struct {
Description Description
Height uint64
Address flow.Address
Index int
}
func (InvalidKey) Error ¶ added in v1.2.0
func (i InvalidKey) Error() string
type InvalidNetwork ¶
type InvalidNetwork struct {
Description Description
Blockchain string
Network string
}
func (InvalidNetwork) Error ¶
func (i InvalidNetwork) Error() string
type InvalidOperations ¶ added in v1.2.0
type InvalidOperations struct {
Description Description
Want uint
Have uint
}
func (InvalidOperations) Error ¶ added in v1.2.0
func (i InvalidOperations) Error() string
type InvalidPayer ¶ added in v1.2.0
type InvalidPayer struct {
Description Description
Have flow.Address
Want flow.Address
}
func (InvalidPayer) Error ¶ added in v1.2.0
func (i InvalidPayer) Error() string
type InvalidPayload ¶ added in v1.2.0
type InvalidPayload struct {
Description Description
Encoding string
}
func (InvalidPayload) Error ¶ added in v1.2.0
func (i InvalidPayload) Error() string
type InvalidProposer ¶ added in v1.2.0
type InvalidProposer struct {
Description Description
Have flow.Address
Want flow.Address
}
func (InvalidProposer) Error ¶ added in v1.2.0
func (i InvalidProposer) Error() string
type InvalidReceiver ¶ added in v1.2.0
type InvalidReceiver struct {
Description Description
Receiver string
}
func (InvalidReceiver) Error ¶ added in v1.2.0
func (i InvalidReceiver) Error() string
type InvalidScript ¶ added in v1.2.0
type InvalidScript struct {
Description Description
Script string
}
func (InvalidScript) Error ¶ added in v1.2.0
func (i InvalidScript) Error() string
type InvalidSignature ¶ added in v1.2.0
type InvalidSignature struct {
Description Description
}
func (InvalidSignature) Error ¶ added in v1.2.0
func (i InvalidSignature) Error() string
type InvalidSignatures ¶ added in v1.2.0
type InvalidSignatures struct {
Description Description
Want uint
Have uint
}
func (InvalidSignatures) Error ¶ added in v1.2.0
func (i InvalidSignatures) Error() string
type InvalidTransaction ¶
type InvalidTransaction struct {
Description Description
Hash string
}
func (InvalidTransaction) Error ¶
func (i InvalidTransaction) Error() string
type UnknownBlock ¶
type UnknownBlock struct {
Description Description
Index uint64
Hash string
}
func (UnknownBlock) Error ¶
func (u UnknownBlock) Error() string
type UnknownCurrency ¶
type UnknownCurrency struct {
Description Description
Symbol string
Decimals uint
}
func (UnknownCurrency) Error ¶
func (u UnknownCurrency) Error() string
type UnknownTransaction ¶
type UnknownTransaction struct {
Description Description
Hash string
}
func (UnknownTransaction) Error ¶
func (u UnknownTransaction) Error() string
Source Files
¶
- description.go
- invalid_account.go
- invalid_amount.go
- invalid_arguments.go
- invalid_authorizers.go
- invalid_block.go
- invalid_currency.go
- invalid_intent.go
- invalid_key.go
- invalid_network.go
- invalid_operations.go
- invalid_payer.go
- invalid_payload.go
- invalid_proposer.go
- invalid_receiver.go
- invalid_script.go
- invalid_signature.go
- invalid_signatures.go
- invalid_transaction.go
- unknown_block.go
- unknown_currency.go
- unknown_transaction.go
Click to show internal directories.
Click to hide internal directories.