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
{{ message }}
Repository navigation
Commit 70eb607
Browse filesBrowse the repository at this point in the historyBrowse files
feat: Report handled errors to an external provider.
- 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.
0 commit comments