summaryrefslogtreecommitdiff
path: root/vendor/github.com/spf13/viper/internal/encoding/error.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/spf13/viper/internal/encoding/error.go')
-rw-r--r--vendor/github.com/spf13/viper/internal/encoding/error.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/github.com/spf13/viper/internal/encoding/error.go b/vendor/github.com/spf13/viper/internal/encoding/error.go
new file mode 100644
index 000000000..e4cde02d7
--- /dev/null
+++ b/vendor/github.com/spf13/viper/internal/encoding/error.go
@@ -0,0 +1,7 @@
+package encoding
+
+type encodingError string
+
+func (e encodingError) Error() string {
+ return string(e)
+}