package
1.1.3
Repository: https://github.com/kukkar/common-golang.git
Documentation: pkg.go.dev

# README

Ralali Go Error Wapped

We have wrapped the go error interface to make debugging easy and have standary error response through out all golang micro services. This also support on-demand stack trace of error. To get the stack_trace of the error you need to pass "debug" key in context of the error. You can also change the stack trace depth by passing the trace_depth in context with you desired depth value.
In rl-go-microservice all the API endpoint will pass there two keys in context if that exists in API Header.

Sample Header

Screen Shot 2020-03-05 at 15 55 59

Sample Response

Screen Shot 2020-03-05 at 15 50 17