mirror of
https://github.com/robonen/tools.git
synced 2026-03-20 19:04:46 +00:00
feat(packages/vue): add custom error
This commit is contained in:
6
packages/vue/src/utils/error.ts
Normal file
6
packages/vue/src/utils/error.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export class VueToolsError extends Error {
|
||||
constructor(message: string) {
|
||||
super(message);
|
||||
this.name = 'VueToolsError';
|
||||
}
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
export * from './components';
|
||||
export * from './components';
|
||||
export * from './error';
|
||||
Reference in New Issue
Block a user