bnkamalesh/errors

View on GitHub
helper.go

Summary

Maintainability
A
1 hr
Test Coverage

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

      There are no issues that match your filters.

      Category
      Status