boost::openmethod::policies::throw_error_handler::fn::error

Throws the error.

Synopsis

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

Description

Wraps the error in an object that can be caught either as an Error, or as a std::runtime_error, and throws it as an exception.

Template Parameters

Name Description

Error

A subclass of openmethod_error.

Parameters

Name Description

error

The error object.

Created with MrDocs