livox_mid360_core
C++ driver library for the Livox Mid-360 LiDAR
Loading...
Searching...
No Matches
livox::mid360::Lvx2Error Struct Reference

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)

Detailed Description

Error of the lvx2 writer, reader and player.

Member Enumeration Documentation

◆ Kind

enum class livox::mid360::Lvx2Error::Kind : std::uint8_t
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


The documentation for this struct was generated from the following file: