Expand description
RFC 9457 problem details for the errors rws itself produces (18.17.0):
application/problem+json bodies such as
{"type":"about:blank","title":"Bad Gateway","status":502,"detail":"…"}.
RWS_CONFIG_ERROR_FORMAT=text keeps the plain-text bodies of earlier
releases (502 Bad Gateway, 413 Payload Too Large: …).
Constants§
- PROBLEM_
JSON Content-Typeof a problem details body.
Functions§
- problem
- An rws-made error: problem details, or with
error_format = "text"the text"<code> <reason>[: <detail>]". - problem_
with_ text problemwhose text form istextrather than the status line.- text_
errors - Whether rws-made errors use plain text (
error_format = "text").