Boost.OpenMethod

    • Motivation
    • Basic Features
      • Methods and Overriders
      • Performance
      • Smart Pointers
      • Header and Implementation Files
      • Namespaces
      • Friends
      • Multiple Dispatch
    • Advanced Features
      • Core API
      • Registries and Policies
      • Custom RTTI
      • Error Handling
      • Virtual Pointer Alternatives
      • Shared Libraries
    • Reference
      • Headers
      • Macros
      • Namespace boost::openmethod
  • boost::openmethod::policies::default_error_handler::fn::error
arrow_upward

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