1 |
|
2 |
|
3 |
|
4 |
|
5 | export class NotImplementedError extends Error {
|
6 | constructor(name:string) {
|
7 | super(name)
|
8 | }
|
9 | }
|
10 |
|
11 | export class IncorrectKeyTypeError extends Error {
|
12 | constructor(name:string) {
|
13 | super(name)
|
14 | }
|
15 | }
|
16 |
|
17 | export function NotImplemented(name:string) {
|
18 | if (name)
|
19 | throw new NotImplementedError(name)
|
20 |
|
21 | return null
|
22 | }
|
23 |
|
24 | export class NoReflectionMetataError extends Error {
|
25 | constructor(name:string) {
|
26 | super(name)
|
27 | }
|
28 | } |
\ | No newline at end of file |