geopm  3.1.1.dev296+g5916b956
GEOPM - Global Extensible Open Power Manager
Classes | Namespaces | Functions
Exception.cpp File Reference
#include "geopm/Exception.hpp"
#include <string.h>
#include <stdio.h>
#include <errno.h>
#include <sys/types.h>
#include <iostream>
#include <mutex>
#include <algorithm>
#include <map>
Include dependency graph for Exception.cpp:

Classes

class  geopm::ErrorMessage
 

Namespaces

 geopm
 

Functions

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

Function Documentation

◆ geopm_error_message()

void geopm_error_message ( int  error_value,
char *  error_message,
size_t  message_size 
)