Expand description
Problem: every error an ACME handler answers with, as the RFC 8555 §6.7
application/problem+json document a client parses.
One constructor per problem type, generated by problems! from a table of
status and URN, so a type cannot be paired with the wrong status at one call
site. The web admin does not use this: its errors are plain
{error, message} JSON (webadmin::error), because a browser and a script
reading /api are not ACME clients.
Structs§
- Problem
- An ACME error, rendered as an RFC 8555 §6.7
application/problem+jsondocument: