29 k_duplicate_registration = 2,
30 k_duplicate_resource = 3,
33 k_resource_not_found = 6
44 explicit Exception(
const std::string& what);
48 const std::error_condition& condition()
const noexcept;
51 std::error_condition condition_;
62 const grpc::Status* status()
const noexcept;
65 std::shared_ptr<grpc::Status> status_;
73struct is_error_condition_enum<viam::sdk::ErrorCondition> : true_type {};
Defines a set of a error conditions to be used in conjunction with Exception.
Defines an exception type for the SDK.
Definition exception.hpp:41
Defines an exception from a gRPC interaction.
Definition exception.hpp:57