From 4ceb22bbfb9ca93acc6f808b93e58a4ca5bcef12 Mon Sep 17 00:00:00 2001 From: Rafa Mel Date: Mon, 22 Apr 2019 01:05:25 +0200 Subject: [PATCH] feat(utils): adds open --- src/utils/open.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/utils/open.ts diff --git a/src/utils/open.ts b/src/utils/open.ts new file mode 100644 index 0000000..6d58c4c --- /dev/null +++ b/src/utils/open.ts @@ -0,0 +1,8 @@ +import { scope, Errorish } from 'errorish'; + +export class OpenError extends Errorish {} + +export default scope.set('_kpo_open_', { + Error: OpenError, + Errorish: OpenError +});