@dgac/nmb2b-client
Version:
EUROCONTROL Network Manager B2B SOAP client
13 lines (11 loc) • 343 B
JavaScript
import { AssertionError } from "node:assert";
//#region src/utils/assert.ts
function assert(condition, message) {
if (!condition) throw new AssertionError({
message: message !== void 0 ? `Assertion failed: ${message}` : `Assertion failed.`,
stackStartFn: assert
});
}
//#endregion
export { assert };
//# sourceMappingURL=assert.mjs.map