File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,11 @@ Causes the module loader to print debugging information to standard error.
92
92
93
93
= defn C < RAKUDO_EXCEPTIONS_HANDLER > (I < Str > ; C < src/core/Exception.pm > )
94
94
Specifies the name of a custom exceptions handler. For example, to load and use
95
- C < Exceptions::JSON > class, set this env var to C < JSON >
95
+ C < Exceptions::JSON > class that comes with Rakudo, set this env var to C < JSON > .
96
+ The exception handling class needs to implement method C < process > that takes
97
+ a single positional argument: the exception object. If that method returns
98
+ a truthy value, the exception will also be printed to the terminal, as if
99
+ the exception handler was not specified.
96
100
97
101
= defn C < RAKUDO_NO_DEPRECATIONS > (I < Bool > ; C < src/core/Deprecations.pm > )
98
102
If true, suppresses deprecation warnings triggered by the C < is DEPRECATED > trait.
You can’t perform that action at this time.
0 commit comments