Astarte device API for C++ 0.8.1
Astarte device SDK for C++
Loading...
Searching...
No Matches
errors.hpp File Reference

specific error definitions for the Astarte device SDK. More...

#include <memory>
#include <optional>
#include <string>
#include <variant>
#include "astarte_device_sdk/errors.hpp"

Go to the source code of this file.

Classes

class  astarte::device::mqtt::MqttError
 Specific error for when an operation failed due to an internal error. More...
 
class  astarte::device::mqtt::PairingApiError
 Specific error for when an operation failed due to an internal error. More...
 
class  astarte::device::mqtt::InvalidUrlError
 Specific error for when an operation failed due to an internal error. More...
 
class  astarte::device::mqtt::DeviceRegistrationError
 Specific error for when an operation failed due to an internal error. More...
 
class  astarte::device::mqtt::JsonParsingError
 Specific error for when an operation failed due to an internal error. More...
 
class  astarte::device::mqtt::RetrieveBrokerUrlError
 Specific error for when an operation failed due to an internal error. More...
 
class  astarte::device::mqtt::ReadCredentialError
 Specific error for when reading from a file. More...
 
class  astarte::device::mqtt::WriteCredentialError
 Specific error for when writing to a file. More...
 
class  astarte::device::mqtt::PairingConfigError
 Specific error for when the configuration to connect the device to Astarte is invalid. More...
 
class  astarte::device::mqtt::CryptoError
 Specific error for when an operation failed due to an internal error. More...
 
class  astarte::device::mqtt::UuidError
 Specific error for when a UUID operation failed. More...
 
class  astarte::device::mqtt::HttpError
 Specific error for when an operation failed due to an internal error. More...
 
class  astarte::device::mqtt::MqttConnectionError
 Specific MQTT connection error. More...
 

Namespaces

namespace  astarte
 Global namespace for all Astarte related functionality.
 
namespace  astarte::device
 Umbrella namespace for the Astarte device library.
 
namespace  astarte::device::mqtt
 Namespace for Astarte device functionality using the MQTT transport protocol.
 

Detailed Description

specific error definitions for the Astarte device SDK.

This file defines specific error classes derived from ErrorBase, covering various failure scenarios such as MQTT issues, pairing errors, and JSON parsing failures.