/omeh

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

Primary LanguageGoMIT LicenseMIT

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