Documentation ¶
Index ¶
- func GetCurrentError(recoverData interface{}) *errors.Error
- func GetCurrentStackTrace(skip int) map[string]interface{}
- func LogPanic(ctx context.Context, recoverData interface{}, skipFrames int)
- func WriteExceptionEvent(span opentracing.Span, recoverData interface{}, skipFrames int)
- func WriteExceptionEventInRawSpan(rawSpan *tracer.RawSpan, err **errors.Error)
- type StackFrames
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentError ¶
Get the current error with the fixed stacktrace
func GetCurrentStackTrace ¶ added in v0.1.13
Gets the current stacktrace
func LogPanic ¶ added in v0.1.13
Write log event with stacktrace in span using the recover data from panic
Types ¶
Click to show internal directories.
Click to hide internal directories.