Nuxt 3 API Error Handling | Laravel 11 & Nuxt 3 Auth #09 | Urdu & Hindi
In this video, you will learn how to read and display errors from Laravel 11 in Nuxt 3. We’ll utilize try and catch blocks in Nuxt 3 to capture the errors returned by the API. In Laravel 11, validation errors are not directly returned, but handled by Laravel itself with a 422 response.
π§² Timestamps:
00:00 – Introduction
00:54 – Using Try & Catch
01:32 – Catch Error
02:11 – Read error messages
03:52 – Conclusion
π§² Checkout our projects at GitHub:
π§² VSCode:
β Font: Cascadia Code
β Theme: Obsidian Dark
π§² Personal Tech Stack:
β Laravel, Livewire
β VueJs, NuxtJS
β MySQL, mongoDB, Pocketbase
β TailwindCSS
β LAMP Stack
β Linux, Virtualization, Proxmox
Please Ignore Negative Comments π
[ad_2]
source