From 25e691faceaafe0bbe056696b9d05181f400bf42 Mon Sep 17 00:00:00 2001 From: danbulant Date: Sun, 16 Feb 2020 14:49:09 +0100 Subject: [PATCH] Create notYetImplemented.ts --- client/src/errors/notYetImplemented.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 client/src/errors/notYetImplemented.ts diff --git a/client/src/errors/notYetImplemented.ts b/client/src/errors/notYetImplemented.ts new file mode 100644 index 0000000..ec4e27b --- /dev/null +++ b/client/src/errors/notYetImplemented.ts @@ -0,0 +1,11 @@ +import Error from './error'; + +class NotYetImplementedError extends Error { + name:string = "NotYetImplementedError"; + constructor(){ + super("This function wasn't yet implemented"); + this.stack = (new Error("This function wasn't yet implemented")).stack; + } +} + +export default NotYetImplementedError; \ No newline at end of file