mirror of
https://github.com/danbulant/ester_os
synced 2026-07-05 19:11:03 +00:00
Create notYetImplemented.ts
This commit is contained in:
parent
7e49e6f51b
commit
25e691face
1 changed files with 11 additions and 0 deletions
11
client/src/errors/notYetImplemented.ts
Normal file
11
client/src/errors/notYetImplemented.ts
Normal file
|
|
@ -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 = (<any>new Error("This function wasn't yet implemented")).stack;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default NotYetImplementedError;
|
||||||
Loading…
Reference in a new issue