aboutsummaryrefslogtreecommitdiff
path: root/error.go
diff options
context:
space:
mode:
Diffstat (limited to 'error.go')
-rw-r--r--error.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.go b/error.go
index 1f14aba..7d29b4b 100644
--- a/error.go
+++ b/error.go
@@ -72,7 +72,7 @@ func (err ErrNoExtended) Error() string {
}
// Error return error message.
-func (err Error) Error() string {
+func (err *Error) Error() string {
if err.err != "" {
return err.err
}