Description
HTTP1.1 RFC 9112 section 4 defines the response status code to optionally include a text description (human readable) of the reason for the status code.
There is an additional RFC9457 which makes use of the body to inform of a reason for the error response allowing for easier investigation.
Why is this important
RFC9113 is the HTTP2 protocol standard and the response status only considers the status code and not the reason phrase, as such important information can be lost in helping the client determine a route cause of a failure.