org.eclipse.n4js.mangelhaft.assert
Version:
An assert library used with the Mangelhaft testing framework.
19 lines (16 loc) • 611 B
JavaScript
// Generated by N4JS transpiler; for copyright see original N4JS source file.
import 'n4js-runtime'
export class PreconditionNotMet extends Error {
constructor(message) {
super(message);
this.name = this.constructor.n4type.name;
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.name);
}
this.name = "PreconditionNotMet";
}
static get n4type() {
return $getReflectionForClass(this, '["PreconditionNotMet","org/eclipse/n4js/mangelhaft/precondition/PreconditionNotMet","org.eclipse.n4js.mangelhaft.assert",["f.name"]]');
}
}
//# sourceMappingURL=PreconditionNotMet.map