6#include <azure/core/amqp/internal/models/amqp_error.hpp>
10namespace Azure {
namespace Messaging {
namespace EventHubs {
namespace _detail {
11 class EventHubsExceptionFactory;
14namespace Azure {
namespace Messaging {
namespace EventHubs {
67 friend _detail::EventHubsExceptionFactory;
An exception thrown when an EventHubs service operation fails.
Definition eventhubs_exception.hpp:19
std::string ErrorDescription
A description of the error intended for the developer to understand what the error refers to and how ...
Definition eventhubs_exception.hpp:47
bool IsTransient
Indicates whether the error is transient in nature.
Definition eventhubs_exception.hpp:65
Azure::Nullable< std::uint32_t > StatusCode
The status code associated with the error, if any.
Definition eventhubs_exception.hpp:57
std::string ErrorCondition
A symbolic value indicating the error condition.
Definition eventhubs_exception.hpp:38
EventHubsException(const std::string &what)
Constructs a EventHubsException with a message.
Definition eventhubs_exception.hpp:26