From 68ca7a6a1fd269e69829087503bb5a9cdc804f13 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Wed, 8 Apr 2026 16:58:39 -0700 Subject: [PATCH] Document `assert()` in readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index af1a32e978..cda9d2eb2e 100644 --- a/README.md +++ b/README.md @@ -2130,8 +2130,10 @@ which will halt execution. - `read(path)`1.39.0 - Returns the content of file at `path` as string. -##### Error Reporting +#### Assertions and Error Reporting +- `assert(CONDITION, EXPRESSION)`1.27.0 - Error with message + `EXPRESSION` if `CONDITION` is false. - `error(message)` - Abort execution and report error `message` to user. #### UUID and Hash Generation