camcom 1.0.3
 
Loading...
Searching...
No Matches
camcom::common::Error Class Reference

#include <errors.hpp>

Inheritance diagram for camcom::common::Error:

Public Member Functions

 Error (const std::string &msg)
 
const char * what () const noexcept override
 

Public Attributes

std::string msg
 

Detailed Description

Exception type used across camcom. Thrown directly by callers and (in earlier versions) by the now-retired camcom logger's Throw() path; the FND* macros throw std::runtime_error instead.

Constructor & Destructor Documentation

◆ Error()

camcom::common::Error::Error ( const std::string & msg)
inline

Member Function Documentation

◆ what()

const char * camcom::common::Error::what ( ) const
inlineoverridenoexcept

Member Data Documentation

◆ msg

std::string camcom::common::Error::msg

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