You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I obtain a confusing error which doesn't say anything about what caused it. One could think it is an error of vee-validate, a mismatch between incompatible versions of vue and vee-validate, an error due to the unstable nature of release candidate... It's true that you are provided an error stack, but other packages like webpack may obfuscate it.
[Vue warn]: Error in mounted hook: "Error: [vee-validate]: "
found in
---> <ComponentName> at /path/to/component.vue
<Root>
Object { message: "[vee-validate]: ", stack: "" }
I think that it would be better to catch the error within vue and log a descriptive warning like:
warning: [vee-validate] Unhandled validation error(s) for element "password2".
The text was updated successfully, but these errors were encountered:
Description:
Right now with vee-validate 2.0.0-rc6 some error messages are not very informative. For example, let's take a look at the following example.
If I use the last line to catch the validation error, everything is fine. However when it is omitted like this
Then I obtain a confusing error which doesn't say anything about what caused it. One could think it is an error of vee-validate, a mismatch between incompatible versions of vue and vee-validate, an error due to the unstable nature of release candidate... It's true that you are provided an error stack, but other packages like webpack may obfuscate it.
I think that it would be better to catch the error within vue and log a descriptive warning like:
The text was updated successfully, but these errors were encountered: