@pwngh/economy-lab
    Preparing search index...

    Function problemResponse

    • Builds an RFC 9457 problem+json response. title is the caller-safe message; when a fault is given, its stable code and retryable flag ride as extensions. detail, cause, and stack stay server-side and never reach the wire. See https://www.rfc-editor.org/rfc/rfc9457 for the format.

      Parameters

      • status: number
      • title: string
      • Optionalfault: { code: ErrorCode; retryable: boolean }

      Returns Response