Resurgence (PY2022)
Codebase for the Husky Robotics 2021-2022 rover Resurgence
Loading...
Searching...
No Matches
cam::invalid_camera_config Class Reference

Exception for errors in the camera configuration. More...

#include <CameraConfig.h>

Inheritance diagram for cam::invalid_camera_config:
Collaboration diagram for cam::invalid_camera_config:

Public Member Functions

 invalid_camera_config ()
 Constructs an invalid_camera_config exception with the default message "Invalid camera configuration".
 
 invalid_camera_config (const std::string &msg)
 Constructs an invalid_camera_config exception with the given message appended to "Invalid camera configuration:".
 
virtual const char * what () const noexcept
 Returns the exception message as a C string.
 

Detailed Description

Exception for errors in the camera configuration.

Constructor & Destructor Documentation

◆ invalid_camera_config()

cam::invalid_camera_config::invalid_camera_config ( const std::string & msg)

Constructs an invalid_camera_config exception with the given message appended to "Invalid camera configuration:".

Parameters
msgThe message to use for the exception.

Member Function Documentation

◆ what()

const char * cam::invalid_camera_config::what ( ) const
virtualnoexcept

Returns the exception message as a C string.

Reimplemented from std::exception.


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