Skip to content

Commit fc17021

Browse files
committed
small doc fix
1 parent 9ae95df commit fc17021

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/modules/ROOT/pages/error_handling.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11

22
## Error Handling
33

4-
Errors can occur during @ref initialize, or during method dispatch, if the
5-
method's registry contains the @ref runtime_checks policy. If the registry
6-
contains an @ref error_handler policy, its @ref error_handler::error member
4+
Errors can occur during `initialize`, or during method dispatch, if the
5+
method's registry contains the `runtime_checks` policy. If the registry
6+
contains an `error_handler` policy, its `error_handler::error` member
77
function is called with a variant containing an error object, before terminating
8-
the program with a call to `abort`. @ref default_registry contains such a
9-
policy: @ref default_error_handler. It wraps the error object in a variant, and
8+
the program with a call to `abort`. `default_registry` contains such a
9+
policy: `default_error_handler`. It wraps the error object in a variant, and
1010
calls a handler via a `std::function`. By default, it prints a short description
1111
of the error to `stderr`, but this can be changed, for example, to throw an
1212
exception:

0 commit comments

Comments
 (0)