|
Astarte device API for C++ 0.8.1
Astarte device SDK for C++
|
Error reported by the gRPC transport library. More...
#include <errors.hpp>
Inheritance diagram for AstarteDeviceSdk::AstarteGrpcLibError:Public Member Functions | |
| AstarteGrpcLibError (std::string_view message) | |
| Standard error constructor. | |
| AstarteGrpcLibError (std::string_view message, const AstarteError &other) | |
| Nested error constructor. | |
| AstarteGrpcLibError (std::uint64_t code, std::string_view message) | |
| Error constructor including gRPC error codes. | |
| AstarteGrpcLibError (std::uint64_t code, std::string_view message, const AstarteError &other) | |
| Nested error constructor including gRPC error codes. | |
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. | |
Error reported by the gRPC transport library.
|
explicit |
Standard error constructor.
| message | The error message. |
|
explicit |
Nested error constructor.
| message | The error message. |
| other | The error to nest. |
|
explicit |
Error constructor including gRPC error codes.
| code | The error code returned by the gRPC library. |
| message | The error message. |
|
explicit |
Nested error constructor including gRPC error codes.
| code | The error code returned by the gRPC library. |
| message | The error message. |
| other | The error to nest. |