Skip to content

Commit 329323e

Browse files
Clarify exclusions for fallback HTTP error pages (#9701)
* Clarify exclusions for fallback HTTP error pages * Update errors.md --------- Co-authored-by: Taylor Otwell <taylor@laravel.com>
1 parent 39d9603 commit 329323e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

errors.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,4 +410,6 @@ php artisan vendor:publish --tag=laravel-errors
410410
<a name="fallback-http-error-pages"></a>
411411
#### Fallback HTTP Error Pages
412412

413-
You may also define a "fallback" error page for a given series of HTTP status codes. This page will be rendered if there is not a corresponding page for the specific HTTP status code that occurred. To accomplish this, define a `4xx.blade.php` template and a `5xx.blade.php` template in your application's `resources/views/errors` directory.
413+
You may also define a "fallback" error page for a given series of HTTP status codes. This page will be rendered if there is not a corresponding page for the specific HTTP status code that occurred. To accomplish this, define a `4xx.blade.php` template and a `5xx.blade.php` template in your application's `resources/views/errors` directory.
414+
415+
When defining fallback error pages, the fallback pages will not affect `404`, `500`, and `503` error responses since Laravel has internal, dedicated pages for these status codes. To customize the pages rendered for these status codes, you should define a custom error page for each of them individually.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy