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