|
livox_mid360_core
C++ driver library for the Livox Mid-360 LiDAR
|
Error of the lvx2 writer, reader and player. More...
#include <livox/mid360/lvx2.hpp>
Public Types | |
| enum class | Kind : std::uint8_t { kIo , kInvalidArgument , kUnsupportedDataType , kBadFile } |
| Error category. More... | |
Public Attributes | |
| Kind | kind = Kind::kIo |
| what went wrong | |
| int | errno_value = 0 |
| errno of a kIo error, 0 otherwise | |
| std::string | detail |
| human-readable context (path, offset, offending value) | |
Error of the lvx2 writer, reader and player.
|
strong |
Error category.
| Enumerator | |
|---|---|
| kIo | open/read/write failed, see errno_value |
| kInvalidArgument | e.g. no devices, device_index out of range, not open |
| kUnsupportedDataType | reader: package data_type other than 1 / 2 |
| kBadFile | magic / version / structure mismatch, see detail |