Showing 2 of 6 total issues
Function newerrf
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func newerrf(e error, etype errType, skip int, format string, args ...interface{}) *Error {
Function HasType
has 5 return statements (exceeds 4 allowed). Open
Open
func HasType(err error, et errType) bool {
if err == nil {
return false
}