boost::openmethod::policies::default_error_handler::fn :: Boost.OpenMethod

# boost::openmethod::policies::default_error_handler::fn

A ErrorHandlerFn metafunction.

## Synopsis

Declared in `<boost/openmethod/policies/default_error_handler.hpp>`

    template<class Registry>
    class fn;

## Types

Name | Description
`error_variant` | A `std::variant` containing an instance of a subclass of `openmethod_error`.
`function_type` | The type of the error handler function object.

## Static Member Functions

Name | Description
`error` | Calls a function with the error object, wrapped in an `error_variant`.
`set` | Sets the function to be called to handle errors.
`default_handler` | The default error handler function.

## Template Parameters

Name | Description
--- | ---
Registry | The registry containing this policy.

Created with MrDocs