aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/error.go
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/abi/error.go')
-rw-r--r--accounts/abi/error.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/accounts/abi/error.go b/accounts/abi/error.go
index 67739c21d..420acf418 100644
--- a/accounts/abi/error.go
+++ b/accounts/abi/error.go
@@ -17,10 +17,15 @@
package abi
import (
+ "errors"
"fmt"
"reflect"
)
+var (
+ errBadBool = errors.New("abi: improperly encoded boolean value")
+)
+
// formatSliceString formats the reflection kind with the given slice size
// and returns a formatted string representation.
func formatSliceString(kind reflect.Kind, sliceSize int) string {