Access a non-existent page, then capture the error in error.vue, where the data in the error is a string, why isn't it an object?
Additional context
No response
Logs
WARN [Vue Router warn]: No match found for location with path "/xxxx"
WARN [Vue Router warn]: No match found for location with path "/xxxx"
WARN [Vue Router warn]: No match found for location with path "/xxxx"
Not found: {"path":"/xxxx"}(string)
WARN [Vue Router warn]: No match found for location with path "/xxxx"
Environment
Build Modules: -
Reproduction
https://stackblitz.com/edit/github-dcaplg?file=error.vue
Describe the bug
Access a non-existent page, then capture the error in error.vue, where the data in the error is a string, why isn't it an object?
Additional context
No response
Logs
WARN [Vue Router warn]: No match found for location with path "/xxxx" WARN [Vue Router warn]: No match found for location with path "/xxxx" WARN [Vue Router warn]: No match found for location with path "/xxxx" Not found: {"path":"/xxxx"}(string) WARN [Vue Router warn]: No match found for location with path "/xxxx"