ProblemDetailsCatalog
A declarative catalog of exception-to-problem and status-to-problem mappings.
Every entry becomes exactly one registration on Ktor's own StatusPages configuration; dispatch, including nearest-parent-class resolution, stays StatusPages's job. Obtain one through problemDetails.
Functions
Link copied to clipboard
Registers a problem body for one status code.
Link copied to clipboard
Replaces the problem produced for an exception no mapping covers.
Link copied to clipboard
Covers the codes Ktor itself generates without an explicit body: 404, 405, 406, 415.