| 18 | import { Int } from "./int64.js"; |
| 19 | |
| 20 | export class DieError extends Error { |
| 21 | constructor(...args) { |
| 22 | super(...args); |
| 23 | this.name = this.constructor.name; |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | export function die(msg = "") { |
| 28 | throw new DieError(msg); |
nothing calls this directly
no outgoing calls
no test coverage detected