davestewart / vuex-pathify

Vue / Vuex plugin providing a unified path syntax to Vuex stores
https://davestewart.github.io/vuex-pathify
MIT License
1.37k stars 57 forks source link

Improve error message mechanism #16

Open davestewart opened 6 years ago

davestewart commented 6 years ago

Firstly, environment check:

Secondly, consider if a custom error function would be better:

Try it out, and see if it would be confusing because of the stack position.