feat(core): add vue flow error class
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -126,7 +126,7 @@ export default (options?: FlowProps): VueFlowStore => {
|
||||
/**
|
||||
* Vue flow wasn't able to find any store instance - we can't proceed
|
||||
*/
|
||||
if (!vueFlow) throw new Error('[vueflow]: store instance not found.')
|
||||
if (!vueFlow) throw new VueFlowError('Store instance not found.', 'useVueFlow')
|
||||
|
||||
// always provide a fresh instance into context on call
|
||||
if (scope) {
|
||||
|
||||
Reference in New Issue
Block a user