Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidAddress is used when the recipient address is invalid or does not match the correct // network. ErrInvalidAddress = TxValidationError("invalidAddress") // ErrInvalidAmount is used when the user entered amount is malformatted or not positive. ErrInvalidAmount = TxValidationError("invalidAmount") // ErrInvalidData is used when the user entered data is not hexadecimal. ErrInvalidData = TxValidationError("invalidData") // ErrInsufficientFunds is returned when there are not enough funds to cover the target amount // and fee. ErrInsufficientFunds = TxValidationError("insufficientFunds") )
Functions ¶
This section is empty.
Types ¶
type TxValidationError ¶
type TxValidationError string
TxValidationError represents errors in the tx proposal input data.
func (TxValidationError) Error ¶
func (err TxValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.