KSS Utility
C++ general utilities
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
error.hpp File Reference

Miscellaneous algorithms related to error handling. More...

#include <exception>
#include <functional>
#include <string>
#include <utility>

Go to the source code of this file.

Namespaces

 kss
 All Klassen Software Solutions libraries begin with this namespace.
 
 kss::util
 General utility methods that don't fit into any of the other categories.
 

Functions

bool kss::util::tryAll (const std::function< void()> &fn) noexcept
 
template<class T >
std::pair< T, bool > kss::util::tryAll (const std::function< T()> &fn) noexcept
 
std::string kss::util::errorDescription (const std::exception &e)
 

Detailed Description

Miscellaneous algorithms related to error handling.

Definition in file error.hpp.