|
Astarte device API for C++ 0.8.1
Astarte device SDK for C++
|
Specific error for when an operation failed due to incompatible user input. More...
#include <errors.hpp>
Inheritance diagram for AstarteDeviceSdk::AstarteInvalidInputError:Public Member Functions | |
| AstarteInvalidInputError (std::string_view message) | |
| Standard error constructor. | |
| AstarteInvalidInputError (std::string_view message, const AstarteError &other) | |
| Nested error constructor. | |
Public Member Functions inherited from AstarteDeviceSdk::AstarteErrorBase | |
| virtual | ~AstarteErrorBase () |
| Destructor for the Astarte error. | |
| auto | message () const -> const std::string & |
| Return the message encapsulated in the error. | |
| auto | type () const -> const std::string & |
| Return the type encapsulated in the error. | |
| auto | nested_error () const -> const std::shared_ptr< AstarteErrorBase > & |
| Return the nested error. | |
Additional Inherited Members | |
Protected Member Functions inherited from AstarteDeviceSdk::AstarteErrorBase | |
| AstarteErrorBase (std::string_view type, std::string_view message) | |
| Constructor for the Astarte error. | |
| AstarteErrorBase (std::string_view type, std::string_view message, const AstarteErrorBase &other) | |
| Wrapping constructor for the Astarte error. | |
Specific error for when an operation failed due to incompatible user input.
|
explicit |
Standard error constructor.
| message | The error message. |
|
explicit |
Nested error constructor.
| message | The error message. |
| other | The error to nest. |