### What problem does this feature solve? When calling store.dispatch('nonExistentAction') the function returns with undefined. Should this instead return a rejected promise with the error? ### What does the proposed API look like? ``` store.dispatch('nonExistentAction') .then((result)=>{ ... }) .catch((e)=>{ ... }) ``` If the action does not exist the catch handler will be called with an aptly named error. <!-- generated by vue-issues. DO NOT REMOVE -->