summary refs log tree commit diff
path: root/mew.svnwiki
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-11-07 23:36:43 +0100
committerLeah Neukirchen <leah@vuxu.org>2022-11-07 23:36:43 +0100
commit7c7c335386134bc1e45cf62fc2755173facc40cc (patch)
treeba70384701e9c63bbbe7ada638eb7a2b1f056e94 /mew.svnwiki
parentf7c45171f5ef9a82612e8166184559b8ab781c4f (diff)
downloadmew-7c7c335386134bc1e45cf62fc2755173facc40cc.tar.gz
mew-7c7c335386134bc1e45cf62fc2755173facc40cc.tar.xz
mew-7c7c335386134bc1e45cf62fc2755173facc40cc.zip
add fail
Diffstat (limited to 'mew.svnwiki')
-rw-r--r--mew.svnwiki6
1 files changed, 6 insertions, 0 deletions
diff --git a/mew.svnwiki b/mew.svnwiki
index 3ddcc9b..0aeed8c 100644
--- a/mew.svnwiki
+++ b/mew.svnwiki
@@ -128,6 +128,12 @@ Evaluate {{<expr>}} while {{<cond>}} is true/false.
 
 Like {{cond}}, but raise error if no case matched.
 
+<syntax>(fail <type>? <message> <args>...)</syntax>
+
+Create and signal a condition of {{<type>}} (default: {{(exn)}})
+with a {{'message}} of {{<message>}} passed through {{format}} with
+{{<args>}}.
+
 
 == Numeric helpers