aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/vm.go
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-09-23 02:03:43 -0400
committerAaron Buchwald <[email protected]>2020-09-23 02:03:43 -0400
commitfebbf65d34101980d159a1f47b65848183082db8 (patch)
tree8988aee967d72035eab570b69cb1fead9dc9f711 /plugin/evm/vm.go
parent6cc9d3c61ee803f37cbc6e65799797c0dc51e9e5 (diff)
Improve error messages
Diffstat (limited to 'plugin/evm/vm.go')
-rw-r--r--plugin/evm/vm.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go
index 64ae42e..3ae3b12 100644
--- a/plugin/evm/vm.go
+++ b/plugin/evm/vm.go
@@ -107,10 +107,11 @@ var (
errNoFunds = errors.New("no spendable funds were found")
errWrongChainID = errors.New("tx has wrong chain ID")
errInsufficientFunds = errors.New("insufficient funds")
- errNoExportOutputs = errors.New("no export outputs")
- errExportOutputsNotSortedAndUnique = errors.New("export outputs are not sorted and unique")
- errOutputsNotSorted = errors.New("outputs not sorted")
- errNoExportInputs = errors.New("no inputs to export")
+ errNoExportOutputs = errors.New("tx has no export outputs")
+ errExportOutputsNotSortedAndUnique = errors.New("tx export outputs are not sorted and unique")
+ errOutputsNotSorted = errors.New("tx outputs not sorted")
+ errNoImportOutputs = errors.New("tx has no outputs to import")
+ errNoExportInputs = errors.New("tx has no inputs to export")
errInputsNotSortedAndUnique = errors.New("inputs not sorted and unique")
errOverflowExport = errors.New("overflow when computing export amount + txFee")
errInvalidNonce = errors.New("invalid nonce")