@cowwoc/requirements
Version:
A fluent API for enforcing design contracts with automatic message generation.
19 lines • 440 B
JavaScript
import { assertThatValueIsNotNull } from "../../validator/Objects.mjs";
/**
* A string that is added to the error context.
*/
class StringSection {
value;
constructor(value) {
assertThatValueIsNotNull(value, "value");
this.value = value;
}
getMaxKeyLength() {
return 0;
}
getLines() {
return [this.value];
}
}
export { StringSection };
//# sourceMappingURL=StringSection.mjs.map