boost::openmethod::policies::default_error_handler::fn::set

Sets the function to be called to handle errors.

Synopsis

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

static
function_type
set(function_type new_handler);

Description

Sets the error handler function to a new value, and returns the previous function.

Return Value

The previous function.

Parameters

Name

Description

new_handler

the new function.

Created with MrDocs