-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Gorm uses non-standard error format to support it's chainable API. It would be nice if there was a way to configure wrapcheck to match a *.\.Error regex
tx := tx.Find(&customer)
if tx.Error != nil {
return nil, tx.Error // wrapcheck should warn here
}
abc := tx.Find(&customer)
if abc.Error != nil {
return nil, abc.Error // wrapcheck should warn here
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels