@bscotch/gml-parser
Version:
A parser for GML (GameMaker Language) files for programmatic manipulation and analysis of GameMaker projects.
13 lines • 421 B
JavaScript
export class StitchImportError extends Error {
constructor(message, asserter) {
super(message);
this.name = 'StitchImportError';
Error.captureStackTrace(this, asserter || this.constructor);
}
}
export function assertStitchImportClaim(claim, message) {
if (!claim) {
throw new StitchImportError(message, assertStitchImportClaim);
}
}
//# sourceMappingURL=modules.util.js.map