Flow 1.0.1
Flow project: Public API.
Namespaces | Functions
error_fwd.hpp File Reference

Namespaces

namespace  flow
 Catch-all namespace for the Flow project: A collection of various production-quality modules written in modern C++17, originally by ygoldfel.
 
namespace  flow::error
 Flow module that facilitates working with error codes and exceptions; essentially comprised of niceties on top boost.system's error facility.
 

Functions

template<typename Func , typename Ret >
bool flow::error::exec_and_throw_on_error (const Func &func, Ret *ret, Error_code *err_code, util::String_view context)
 Helper for FLOW_ERROR_EXEC_AND_THROW_ON_ERROR() macro that does everything in the latter not needing a preprocessor. More...
 
template<typename Func >
bool flow::error::exec_void_and_throw_on_error (const Func &func, Error_code *err_code, util::String_view context)
 Equivalent of exec_and_throw_on_error() for operations with void return type. More...