UNPKG

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