type
RequestErrorEvent
type RequestErrorEvent struct {
Time time.Time
RequestID string
Method string
Path string
Error error
Panic bool
Stack string
}Trusted internal diagnostics for a failed request or recovered panic.
Timetime.Time- When the failure was recorded.
RequestIDstring- Correlates the failure with public observations.
Methodstring- The HTTP request method.
Pathstring- The requested URL path.
Errorerror- Trusted dependency or framework error detail.
Panicbool- Reports whether Ridu recovered a panic.
Stackstring- The recovered panic stack when available.
This value is for trusted diagnostics and may contain dependency detail. Never forward Error or Stack to an untrusted client.