hyperlane-plugin-problem-details 23.3.0

An RFC 9457 Problem Details (application/problem+json) error normalizer and builder plugin for the Hyperlane framework with zero-overhead 2xx/3xx fast path and automatic 4xx/5xx error structuring.
Documentation

hyperlane-plugin-problem-details

RFC 9457 (application/problem+json) error response builder and automatic normalizer for Hyperlane.

Features

  • Zero-overhead single-comparison fast path on 2xx/3xx responses.
  • Automatically converts empty or plain-text 4xx/5xx responses into RFC 9457 JSON with type, title, status, detail, and instance.
  • Masks internal 5xx error text by default to prevent sensitive error leakage.
  • Fluent ProblemDetails builder with custom JSON extension fields.
  • Opt-in and transparent (Status::Continue) when unconfigured (#[hyperlane::response_middleware(-62)]).