AAAhmed Abdelaalinahmedabdelaal.hashnode.dev·Apr 29, 2024 · 5 min readCustom 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...00
AAAhmed Abdelaalinahmedabdelaal.hashnode.dev·Apr 23, 2024 · 2 min readError 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...00
AAAhmed Abdelaalinahmedabdelaal.hashnode.dev·Mar 11, 2024 · 2 min readUnderstanding 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 ...00