You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add the ErrorReporter seam and the ReportedError context every reporter reads, so a handled error reaches error tracking without the middleware knowing the provider.
Add the SentryReporter adapter, which either boots the SDK from the deployment values or captures onto a hub the application already holds.
Add ReportingFilter, so the consumer decides which handled errors reach the provider and a client error never spends quota.
Add ReportingPriority and PrioritizedError, the four level urgency scale stated once in neutral terms and translated by each adapter.
Add ReportingContext and ReportingTags, the exception side and request side supplements a report carries, which is how a value resolved below the middleware crosses the PSR-7 immutability gap.
Add RouteMiddleware, so a report carries the route the request matched instead of the raw path that names one request rather than one endpoint.
Add withMessage, which settles the message the response answers with before the body is built, so no layer above parses and re-encodes it.
Validate the headers a mapping rule declares, so a malformed field fails while the table is declared rather than on the request that would return it.