Commit c23b95e2f27e7240e6249eeb115a768ad9267199
1 parent
dd72ba20dc
Exists in
master
removed error utility (not being used)
Showing
1 changed file
with
0 additions
and
12 deletions
Show diff stats
error_util.go
1 | package webutility | File was deleted | |
2 | |||
3 | import ( | ||
4 | "fmt" | ||
5 | |||
6 | "git.to-net.rs/marko.tikvic/gologger" | ||
7 | ) | ||
8 | |||
9 | func WrapErrLoc(e error) error { | ||
10 | file, line := gologger.CallerFilenameAndLineNumber() | ||
11 | return fmt.Errorf("%s %d: %s", file, line, e.Error()) | ||
12 | } | ||
13 | 1 | package webutility |