type

RequestErrorEvent

Trusted internal diagnostics for a failed request or recovered panic.

Properties

PropertyTypeDescription
Timetime.TimeWhen the failure was recorded.
RequestIDstringCorrelates the failure with public observations.
MethodstringThe HTTP request method.
PathstringThe requested URL path.
ErrorerrorTrusted dependency or framework error detail.
PanicboolReports whether Ridu recovered a panic.
StackstringThe recovered panic stack when available.

How it works

This value is for trusted diagnostics and may contain dependency detail. Never forward Error or Stack to an untrusted client.

Full signature

type RequestErrorEvent struct { Time time.Time RequestID string Method string Path string Error error Panic bool Stack string }

Source core/http.go:155