Skip to content

One more error handler. Handle and return unique errors that can be searched quickly to find the exact error.

License

Notifications You must be signed in to change notification settings

maverickames/omeh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Godoc license

omeh - One more error handler

Handle and return unique errors that can be searched quickly to find the exact error.

Allows you to return unique errors to the UI that can be quickly found in a sea of logs with the exact location and details where the error occured.

image

[Example App] ErrorHandler: 2021/06/09 19:47:07 
  -- Function: main.(*App).brokenRoute
  -- SourceFile: /Users/user/Development/go/omeh/example/routes.go
  -- LineNumber: 36
  -- ErrorDetails: did something and it broke
  -- RequestDetail: /broken
  -- ErrorCode: 5000732679545666175

About

One more error handler. Handle and return unique errors that can be searched quickly to find the exact error.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published