Skip to content

Comments

docs: add hono-problem-details to third-party middleware#827

Open
paveg wants to merge 1 commit intohonojs:mainfrom
paveg:docs/add-problem-details
Open

docs: add hono-problem-details to third-party middleware#827
paveg wants to merge 1 commit intohonojs:mainfrom
paveg:docs/add-problem-details

Conversation

@paveg
Copy link

@paveg paveg commented Feb 25, 2026

Add hono-problem-details to the third-party middleware listing under Utilities.

hono-problem-details is an RFC 9457 Problem Details middleware for Hono that provides:

  • Error handler converting HTTPException and generic errors to RFC 9457 responses
  • Factory function for throwable ProblemDetailsError instances
  • Validator hooks for Zod, Valibot, and Standard Schema
  • OpenAPI integration with @hono/zod-openapi
  • Problem type registry for type-safe error creation
  • Localization support

Published on npm.

Related: honojs/middleware#579

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant