Boost.Redis

    • Introduction
    • Requests and responses
    • Serializing and parsing into custom types
    • Logging
    • Echo server benchmark
    • Comparison with other Redis clients
    • Examples
    • Reference
    • Acknowledgements
    • Changelog
  • Reference
arrow_upward

Reference

boost::redis::adapter::throw_exception_from_error

Allows using error with boost::system::result.

Synopsis

Declared in <boost/redis/adapter/result.hpp>

void
throw_exception_from_error(
    error const& e,
    boost::source_location const&);

Parameters

Name

Description

e

The error to throw.

Created with MrDocs