Skip to content

Struct nebula::drivers::SampleHwInterface::Error

ClassList > nebula > drivers > SampleHwInterface > Error

Rich error payload for hardware interface operations.

  • #include <sample_hw_interface.hpp>

Public Types

Type Name
enum uint8_t Code
Coarse category for quick handling and branching.

Public Attributes

Type Name
Code code
std::string message

Public Types Documentation

enum Code

Coarse category for quick handling and branching.

enum nebula::drivers::SampleHwInterface::Error::Code {
    CALLBACK_NOT_REGISTERED,
    INVALID_CALLBACK,
    INVALID_OPERATION,
    SOCKET_OPEN_FAILED,
    SOCKET_CLOSE_FAILED
};


Public Attributes Documentation

variable code

Code nebula::drivers::SampleHwInterface::Error::code;

variable message

std::string nebula::drivers::SampleHwInterface::Error::message;


The documentation for this class was generated from the following file src/nebula_sample/nebula_sample_hw_interfaces/include/nebula_sample_hw_interfaces/sample_hw_interface.hpp