feat(iferr): add -message support (#89)

* feat(iferr): add *-message* support

* generate docs
This commit is contained in:
Smirnov Oleksandr 2025-03-03 14:22:28 +02:00 committed by GitHub
parent bb31271311
commit d1a21bffab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 48 additions and 1 deletions

10
spec/fixtures/iferr/message_output.go vendored Normal file
View file

@ -0,0 +1,10 @@
package main
func getErr() error { return nil }
func test() error {
err := getErr()
if err != nil {
return fmt.Errorf("failed to %w", err)
}
}