core / pragma.gateway / respondWithPragmaFailure /

respondWithPragmaFailure #

suspend fun ApplicationCall.respondWithPragmaFailure(failure: PragmaFailure, pragmaNode: PragmaNode)

Standard 403 JSON error response for RoutePlugins that proxy an RPC call over HTTP. Strips service-error debug details outside of BackendMode.DEVELOPMENT.