Go to the documentation of this file.
20 #include <system_error>
24 static const std::error_code
kNoError(0, std::generic_category());
42 const char*
name() const noexcept
override
44 return "ConnectionError";
47 std::string
message(
int code)
const override
52 return "cannot probe driver";
54 return "cannot find network";
56 return "cannot set address";
60 return "cannot create socket";
62 return "cannot connect socket";
64 return std::to_string(code);
80 const char*
name() const noexcept
override
82 return "StartStreamError";
85 std::string
message(
int code)
const override
90 return "failed to create task";
92 return std::to_string(code);
109 const char*
name() const noexcept
override
111 return "GetFrameError";
119 return "frame not ready";
121 return "invalid camera id";
123 return std::to_string(code);
141 const char*
name() const noexcept
override
143 return "GetEepromDataError";
151 return "invalid camera id";
153 return "read failed";
155 return "bad checksum";
157 return std::to_string(code);
static const GetFrameError & get()
static const StartStreamError & get()
const char * name() const noexcept override
const char * name() const noexcept override
const char * name() const noexcept override
static const ConnectionError & get()
static const std::error_code kNoError(0, std::generic_category())
static constexpr int BadChecksum
static constexpr int CannotProbeDriver
std::string message(int code) const override
std::string message(int code) const override
static constexpr int CannotCreateSocket
static constexpr int FailedCommunication
static const GetEepromDataError & get()
static constexpr int FrameNotReady
static constexpr int CannotSetAddress
std::string message(int code) const override
static constexpr int InvalidCamId
static constexpr int CannotConnectSocket
static constexpr int InvalidCamId
static constexpr int CannotPing
const char * name() const noexcept override
static constexpr int CannotFindNetwork
static constexpr int FailToCreateTask
std::string message(int code) const override
clpe_ros
Author(s): Teo Koon Peng
autogenerated on Thu Dec 19 2024 03:50:23