diff options
Diffstat (limited to 'defererr.go')
-rw-r--r-- | defererr.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/defererr.go b/defererr.go index c6e00fe..d0c6d6f 100644 --- a/defererr.go +++ b/defererr.go @@ -304,7 +304,7 @@ func checkErrorAssignedInDefer( errorReturnField.Pos(), // TODO: Get the actual signature and set the error // name in front of the error type. - "return signature should be '(%s error)'", + "return signature should use named error parameter %s", lhsIdent, ) |