StatusText
StatusText is a term used in computer networking and web development to describe the human-readable message that accompanies an HTTP status code in a response. It is typically presented as a brief phrase such as "OK" for a 200 status or "Not Found" for a 404, and it is often exposed by web APIs and HTTP client libraries as a statusText property or field.
In the HTTP protocol, responses include a status line consisting of a numeric code and a reason
Web APIs and libraries commonly expose statusText for convenience. For example, the Fetch API’s Response object
Practice typically emphasizes relying on the numeric status code for control flow, using statusText mainly for