nt/nib/panic.nix
2025-12-18 11:26:47 +10:00

4 lines
101 B
Nix

{nib, ...}: {
badType = expect: x:
throw "Expected type ${expect} but got ${nib.typeOf x}.";
}