While working on laravel application whenever any error occurs it shows default error page like 404 (not found) , 500 (server error) whcih looks very simple and somtimes doesn't match with out application theme and color and also while in production you want to show some custom error pages which looks similar to theme of your application and matching color and theme , so laravel provides us the feature to make our own custom error pages 404,401,403,419,429,500,503 .
2:Creating custom errors
So when your project comes under production always use error pages to avoid breach of senstive data. so here Laravel comes with beautiful feature to create custom error pages . For creating custom error pages in laravel , laravel comes with very simple command to create custom error pages.
After hit the command in the terminal you may see the following error pages has been created resources/views/errors 401,403,404,419,429,500 and 503 . We can build different error pages but here we will show you the 404 error page but you can try with all other pages .
We are Vineet Maanas we are working as professional developers from the last 8 years and always looking to discover something amazing getting followed by market trends and always push new developers to learn something new with our tutorials
Thankyou.
0 Comments (Please let us know your query)