forStatusCode
Registers a problem body for one status code.
Opt-in per code on purpose: StatusPages' status hook fires for any outgoing response carrying that code, including a body the application built deliberately, and would replace it.