Error reported by the gRPC transport library.
More...
#include <errors.hpp>
Error reported by the gRPC transport library.
◆ GrpcLibError() [1/4]
| astarte::device::GrpcLibError::GrpcLibError |
( |
std::string_view | message | ) |
|
|
explicit |
Standard error constructor.
- Parameters
-
| [in] | message | The human-readable error message. |
◆ GrpcLibError() [2/4]
| astarte::device::GrpcLibError::GrpcLibError |
( |
std::string_view | message, |
|
|
const Error & | other ) |
|
explicit |
Nested error constructor.
- Parameters
-
| [in] | message | The human-readable error message. |
| [in] | other | The error to nest. |
◆ GrpcLibError() [3/4]
| astarte::device::GrpcLibError::GrpcLibError |
( |
std::uint64_t | code, |
|
|
std::string_view | message ) |
|
explicit |
Error constructor including gRPC error codes.
- Parameters
-
| [in] | code | The error code returned by the gRPC library. |
| [in] | message | The human-readable error message. |
◆ GrpcLibError() [4/4]
| astarte::device::GrpcLibError::GrpcLibError |
( |
std::uint64_t | code, |
|
|
std::string_view | message, |
|
|
const Error & | other ) |
|
explicit |
Nested error constructor including gRPC error codes.
- Parameters
-
| [in] | code | The error code returned by the gRPC library. |
| [in] | message | The human-readable error message. |
| [in] | other | The error to nest. |
The documentation for this class was generated from the following file:
- /home/runner/work/astarte-device-sdk-cpp/astarte-device-sdk-cpp/astarte-device-sdk-cpp/include/astarte_device_sdk/errors.hpp