| 44 | * Equivalent of Python's ValueError. |
| 45 | */ |
| 46 | export class ValueError extends Error { |
| 47 | constructor(message?: string) { |
| 48 | super(message); |
| 49 | // Set the prototype explicitly. |
| 50 | Object.setPrototypeOf(this, ValueError.prototype); |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | /** |
| 55 | * Equivalent of Python's NotImplementedError. |
no outgoing calls
searching dependent graphs…