MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / assert_printerGivenNonNegativeNumNewlines

Function assert_printerGivenNonNegativeNumNewlines

quest/src/core/errors.cpp:873–879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

871}
872
873void assert_printerGivenNonNegativeNumNewlines() {
874
875 int min = 0;
876
877 if (printer_getNumTrailingNewlines() < min)
878 raiseInternalError("A printer utility attempted to print a negative number of newlines, informed by the user-set number of trailing newlines, which should have been caught by prior validation.");
879}
880
881void assert_printerGivenPositiveNumNewlines() {
882

Callers 1

print_newlinesFunction · 0.85

Calls 2

raiseInternalErrorFunction · 0.85

Tested by

no test coverage detected