DEV Community

Discussion on: Architecting HTTP clients in Vue.js applications for efficient network communication

haxzie profile image
Musthaq Ahamad

Hey, thanks for letting me know :)
This is a fairly simple fix to just check if error.response is present before switch-casing the error.response.status.

Will update the post with these changes.
Thank you.