bnkamalesh/errors

View on GitHub

Showing 2 of 6 total issues

Function newerrf has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func newerrf(e error, etype errType, skip int, format string, args ...interface{}) *Error {
Severity: Minor
Found in helper.go - About 35 mins to fix

    Function HasType has 5 return statements (exceeds 4 allowed).
    Open

    func HasType(err error, et errType) bool {
        if err == nil {
            return false
        }
    
    
    Severity: Major
    Found in helper.go - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language