(actual: string, expected: Type)
| 2 | |
| 3 | export class TypeError extends Error { |
| 4 | constructor(actual: string, expected: Type) { |
| 5 | super(`Found type '${actual}' where type '${expected.toString()}' was expected`); |
| 6 | } |
| 7 | } |
| 8 | |
| 9 | export class UndefinedInputError extends Error { |