5 lines
130 B
JavaScript
5 lines
130 B
JavaScript
|
import { InternalError } from "./errors.js";
|
||
|
export function impossible(value, message) {
|
||
|
throw new InternalError(message);
|
||
|
}
|