summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2014-07-06 00:26:22 -0500
committerNicolas Williams <nico@cryptonector.com>2014-07-06 00:27:05 -0500
commit9113282c27be7c60fcf8fbfa1837d2f195a479b1 (patch)
treefea9e6ea8afd750e098cf2b7f5d4d034a257187f
parent78a8419428779d0d78274d0316141ec63bfa5d15 (diff)
Document `error/1`
-rw-r--r--docs/content/3.manual/manual.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml
index e4b268af..7225b7dc 100644
--- a/docs/content/3.manual/manual.yml
+++ b/docs/content/3.manual/manual.yml
@@ -691,6 +691,13 @@ sections:
input: 'null'
output: ['[1,2,3]']
+ - title: "`error(message)`"
+ body: |
+
+ Produces an error, just like `.a` applied to values other than
+ null and objects would, but with the given message as the
+ error's value.
+
- title: "`map(x)`"
body: |