Builtins: Calendar and files
On this page
script_error()#
script_error(message)Report an error-level diagnostic.
Returns: Null.
script_error("The puzzle setup is incomplete.")The helper logs; it does not throw a catchable PCA exception or end the current function.
pca_assert()#
pca_assert(condition, message = "Assertion failed.")Report when a diagnostic condition is false.
Returns: The condition as a Boolean.
pca_assert(5 > 0, "Score must be positive.")The assert statement is the failing/stop form. This helper reports and returns a value.
breakpoint()#
breakpoint()Diagnostic compatibility helper.
Returns: Null.
breakpoint()For an actual debugger pause use the standalone breakpoint statement or the editor gutter while debugging is enabled.
