CommandArgumentError
type CommandArgumentError
An error with an argument to a command
BCS
The BCS serialized form of this type is specified in [`bcs-schema.abnf`](https://github.com/iotaledger/iota-rust-sdk/blob/develop/crates/iota-sdk-types/bcs-schema.abnf\).
type CommandArgumentError interface {
Destroy()
ToBcs() ([]byte, error)
ToDisplayString() string
ToJson() (string, error)
}
func CommandArgumentErrorFromBcs
func CommandArgumentErrorFromBcs(bcs []byte) (CommandArgumentError, error)
Create this type from BCS encoded bytes.
func CommandArgumentErrorFromJson
func CommandArgumentErrorFromJson(json string) (CommandArgumentError, error)
Create this type from a JSON encoded string.