suppress_exceptions.hpp File Reference

Utilities for suppressing exceptions from some code block. More...

`#include <restinio/impl/include_fmtlib.hpp>`
`#include <restinio/null_logger.hpp>`
`#include <exception>`

Go to the source code of this file.

## Namespaces

namespace | restinio
namespace | restinio::utils

## Functions

template<typename Logger , typename Message_Builder >
void | restinio::utils::log_trace_noexcept (Logger &&logger, Message_Builder &&builder) noexcept
template<typename Message_Builder >
void | restinio::utils::log_trace_noexcept (null_logger_t &, Message_Builder &&) noexcept
template<typename Logger , typename Message_Builder >
void | restinio::utils::log_info_noexcept (Logger &&logger, Message_Builder &&builder) noexcept
template<typename Message_Builder >
void | restinio::utils::log_info_noexcept (null_logger_t &, Message_Builder &&) noexcept
template<typename Logger , typename Message_Builder >
void | restinio::utils::log_warn_noexcept (Logger &&logger, Message_Builder &&builder) noexcept
template<typename Message_Builder >
void | restinio::utils::log_warn_noexcept (null_logger_t &, Message_Builder &&) noexcept
template<typename Logger , typename Message_Builder >
void | restinio::utils::log_error_noexcept (Logger &&logger, Message_Builder &&builder) noexcept
template<typename Message_Builder >
void | restinio::utils::log_error_noexcept (null_logger_t &, Message_Builder &&) noexcept
template<typename Logger , typename Lambda >
void | restinio::utils::suppress_exceptions (Logger &&logger, const char *block_description, Lambda &&lambda) noexcept
| Helper function for execution a block of code with suppression of any exceptions raised inside that block. More...
template<typename Lambda >
void | restinio::utils::suppress_exceptions_quietly (Lambda &&lambda) noexcept
| Helper function for execution a block of code with suppression of any exceptions raised inside that block. More...

## Detailed Description

Utilities for suppressing exceptions from some code block.

Since
  v.0.6.0

Definition in file suppress_exceptions.hpp.