userver: kafka::BulkSendException Class Reference
Loading...
Searching...
No Matches
kafka::BulkSendException Class Reference

#include <userver/kafka/exceptions.hpp>

Detailed Description

Base exception thrown by Producer::Send in bulk mode in case of one or more send errors.

Definition at line 34 of file exceptions.hpp.

+ Inheritance diagram for kafka::BulkSendException:

Public Types

using ExceptionMap = std::map<std::size_t, std::exception_ptr>
 

Public Member Functions

 BulkSendException (ExceptionMap nested_exceptions)
 
const ExceptionMap & GetExceptions () const noexcept
 

Member Typedef Documentation

◆ ExceptionMap

using kafka::BulkSendException::ExceptionMap = std::map<std::size_t, std::exception_ptr>

Definition at line 38 of file exceptions.hpp.

Member Function Documentation

◆ GetExceptions()

const ExceptionMap & kafka::BulkSendException::GetExceptions ( ) const
noexcept
Returns
nested errors. Nested exceptions are subclasses of SendException.

The documentation for this class was generated from the following file: