4#include "errors/impl/wrap_error.hpp" 
    5#include "errors/make.hpp" 
    6#include "errors/source_location.hpp" 
   30                                          detail::
make<impl::wrap_error>::with(
 
   33                                                  std::move(location))) :
 
 
   45                                          detail::
make<impl::wrap_error>::with(
 
   47                                                  std::move(location))) :
 
 
 
Smart pointer to errors::error with some utility member functions.
Definition error_ptr.hpp:13
 
A function like class to wrap an error.
Definition wrap.hpp:14
 
wrap(error_ptr &&cause, source_location location=source_location::current())
Wraps an error.
Definition wrap.hpp:40
 
wrap(std::string message, error_ptr &&cause, source_location location=source_location::current())
Wraps an error with an optional message.
Definition wrap.hpp:25
 
The source location.
Definition source_location.hpp:46
 
static constexpr source_location current(const char *fileName="unsupported", const char *functionName="unsupported", const uint_least32_t lineNumber=0, const uint_least32_t columnOffset=0) noexcept
Returns the current source location.
Definition source_location.hpp:70