aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation')
-rw-r--r--stdlib/source/documentation/lux/control/exception.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/documentation/lux/control/exception.lux b/stdlib/source/documentation/lux/control/exception.lux
index a2ab6278c..f0936e27e 100644
--- a/stdlib/source/documentation/lux/control/exception.lux
+++ b/stdlib/source/documentation/lux/control/exception.lux
@@ -34,14 +34,14 @@
"Decorate an error message with an Exception and lift it into the error-handling context."
[(except exception message)])
-(documentation: /.exception:
+(documentation: /.exception
(format "Define a new exception type."
\n "It mostly just serves as a way to tag error messages for later catching.")
["Simple case:"
- (exception: .public some_exception)]
+ (exception .public some_exception)]
["Complex case:"
- (exception: .public [arbitrary type variables] (some_exception [optional Text
- arguments Int])
+ (exception .public [arbitrary type variables] (some_exception [optional Text
+ arguments Int])
optional_body)])
(documentation: /.report
@@ -71,7 +71,7 @@
..otherwise
..error
..except
- ..exception:
+ ..exception
..report
..listing
..with