The option shared by every middleware that answers a request itself: withSupabase, withClaims, withRequiredClaims, withPostgresClient, withPostgresAdminClient and withOAuthProtectedResource. Each applies errors to its own responses.
withSupabase
withClaims
withRequiredClaims
withPostgresClient
withPostgresAdminClient
withOAuthProtectedResource
errors
Optional
How much of an error to include in a short-circuit response body.
ErrorResponseConfig
The option shared by every middleware that answers a request itself:
withSupabase,withClaims,withRequiredClaims,withPostgresClient,withPostgresAdminClientandwithOAuthProtectedResource. Each applieserrorsto its own responses.