]> src.bluestatic.org Git - ustaxlib.git/blob - src/Errors.ts
Add TaxReturn.maybeGetForm<T>()
[ustaxlib.git] / src / Errors.ts
1 export class InconsistencyError extends Error {
2 constructor(m: string) {
3 super(m);
4 Object.setPrototypeOf(this, InconsistencyError.prototype);
5 }
6 };
7
8 export class UnsupportedFeatureError extends Error {
9 constructor(m: string) {
10 super(m);
11 Object.setPrototypeOf(this, UnsupportedFeatureError.prototype);
12 }
13 };
14
15 export class NotFoundError extends Error {
16 constructor(m: string) {
17 super(m);
18 Object.setPrototypeOf(this, NotFoundError.prototype);
19 }
20 };