package webutility import ( "fmt" "git.to-net.rs/marko.tikvic/gologger" ) func WrapErrLoc(e error) error { file, line := gologger.CallerFilenameAndLineNumber() return fmt.Errorf("%s %d: %s", file, line, e.Error()) }