Merge pull request #14 from seaskyways/patch-1

Update README.md
This commit is contained in:
Lasse Martin Jakobsen 2019-07-01 07:17:30 +02:00 committed by GitHub
commit ed66405676
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -754,7 +754,7 @@ func NewErrorDetails(err error, details ...interface{}) ErrorDetails {
}
func (err *errDetails) Error() string {
return fmt.Sprintf("%v: %v", err.details)
return fmt.Sprintf("%v: %v", err.errtype, err.details)
}
func (err *errDetails) Type() error {