Custom Error Pages in LaravelLaravel makes it easy to display custom error pages for various HTTP status codes. For example, to customize the error page for 404 HTTP status codes, create a resources/views/errors/404.blade.php view template. This view will be rendered for all 404...Apr 29, 2024 · 5 min readahmedabdelaal.hashnode.dev
Error Handling in laravel 11If you need to completely overwrite the exception handler class, you may use the withSingletons method in your application's bootstrap/app.php to register which class will be handled when Laravel tries to resolve \Illuminate\Contracts\Debug\Exception...Apr 23, 2024 · 2 min readahmedabdelaal.hashnode.dev
Understanding Ruby Modules: Prepend vs. IncludeIntroduction: Module is a collection of constants, methods, classes, and variables in a container. Modules implement the mixin facility module Animal def sound puts 'animal sound' end end class Dog include Animal ...Mar 11, 2024 · 2 min readahmedabdelaal.hashnode.dev