@karmaniverous/smoz
    Preparing search index...
    • Shape error responses into well-formed Lambda Proxy results.

      Mirrors makeShapeAndContentType but runs on the onError path, ensuring error responses have proper statusCode, headers, and body structure even when the after chain is skipped.

      Parameters

      • contentType: string

      Returns ApiMiddleware