geopm  3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
Classes | Namespaces | Functions
Exception.hpp File Reference
#include <stdexcept>
#include <string>
#include "geopm_error.h"
#include "geopm_public.h"
Include dependency graph for Exception.hpp:

Go to the source code of this file.

Classes

class  geopm::Exception
 Class for all GEOPM-specific exceptions. More...
 

Namespaces

 geopm
 

Functions

int geopm::exception_handler (std::exception_ptr eptr, bool do_print=false)
 Handle a thrown exception and return an error value. More...
 
std::string geopm::error_message (int error_value)
 Function that converts an error code into an error message. More...