1#ifndef PROTON_ERROR_CONDITION_H
2#define PROTON_ERROR_CONDITION_H
25#include "./internal/export.hpp"
69 PN_CPP_EXTERN
explicit operator bool()
const;
75 PN_CPP_EXTERN
bool empty()
const;
78 PN_CPP_EXTERN std::string
name()
const;
87 PN_CPP_EXTERN std::string
what()
const;
91 std::string description_;
Describes an endpoint error state.
Definition: error_condition.hpp:39
std::string description() const
Descriptive string for condition.
std::string name() const
Condition name.
error_condition()=default
Create an empty error condition.
error_condition(std::string description)
Create an error condition with only a description.
bool operator!() const
No condition set.
bool empty() const
No condition has been set.
error_condition(std::string name, std::string description, proton::value properties)
Unsettled API - Create an error condition with name, description, and informational properties.
error_condition(std::string name, std::string description)
Create an error condition with a name and description.
value properties() const
Extra information for condition.
std::string what() const
Simple printable string for condition.
A holder for any AMQP value, simple or complex.
Definition: value.hpp:57
The main Proton namespace.
Definition: annotation_key.hpp:33
std::ostream & operator<<(std::ostream &, const binary &)
Print a binary value.
A holder for any AMQP value, simple or complex.