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

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

Calls a function with the error object, wrapped in an `error_variant`.

## Synopsis

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

    template<class Error>
    static
    void
    error(Error const& error);

## Template Parameters

Name | Description
--- | ---
Error | A subclass of `openmethod_error`.

## Parameters

Name | Description
--- | ---
error | The error object.

Created with MrDocs