SatNOGS-COMMS  4.1.0
A COMMS subsystem for CubeSats
Loading...
Searching...
No Matches
satnogs::comms::lib::invalid_sensor_exception Class Reference

Exception class for accessing an invalid temperature sensor. More...

#include <temperature.hpp>

Inheritance diagram for satnogs::comms::lib::invalid_sensor_exception:
satnogs::comms::lib::exception

Public Member Functions

 invalid_sensor_exception (string_type file_name, numeric_type line)
Public Member Functions inherited from satnogs::comms::lib::exception
 exception (severity sev, const char *file, int lineno, const error_msg &err_msg)
 Constructor for the exception class.
void to_string (etl::string_stream &stream) const
 Creates a string representation of the exception.
void to_string (etl::istring &s) const
 Creates a string representation of the exception.
const char * what () const noexcept override
int32_t get_errno () const
severity get_severity () const
 Get error severity level as defined in FDIR.

Additional Inherited Members

Public Types inherited from satnogs::comms::lib::exception
enum class  severity : uint8_t {
  CATASTROPHIC = 0 , CRITICAL = 1 , MAJOR = 2 , MINOR = 3 ,
  NONE = 4
}
 Severity levels of exceptions. More...

Detailed Description

Exception class for accessing an invalid temperature sensor.

Thrown when an operation attempts to access or configure an unsupported or invalid temperature sensor.

Note
This exception has exception::severity::MAJOR severity

Definition at line 51 of file temperature.hpp.

Constructor & Destructor Documentation

◆ invalid_sensor_exception()

satnogs::comms::lib::invalid_sensor_exception::invalid_sensor_exception ( string_type file_name,
numeric_type line )
inline

Definition at line 54 of file temperature.hpp.


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