In Chrome inspector when I hit a 404 I see:
Request URL:http://myapp.dev/doesnotexist
Request Method:GET
Status Code:404 Not Found
Remote Address:192.X.X.X:80
So far I've only been able to get the numeric code, "404" by using $exception->getStatusCode()
Is there a way to get the text description of "Not Found" in PHP (or Laravel)?
curl_error()returns this information.