fix build

This commit is contained in:
Yasuhiro Matsumoto
2017-03-20 23:26:15 +09:00
parent 53900fb4f0
commit cf4bd560f1
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}