IDSpeakAFL  v1.2.1
Exception Class Reference

#include <peak_afl/peak_afl.hpp>

Inheritance diagram for Exception:

Public Member Functions

peak_afl_status code () const
 Get the return code for the failure. More...
 
const char * what () const noexcept override
 Get the string representation for the exception. More...
 

Static Public Member Functions

static std::string translateCode (peak_afl_status status)
 Get a string representation for an error code. More...
 

Detailed Description

General Error type

Member Function Documentation

◆ code()

peak_afl_status code ( ) const
inline

Get the return code for the failure.

Returns
the return code

◆ translateCode()

static std::string translateCode ( peak_afl_status  status)
inlinestatic

Get a string representation for an error code.

Parameters
statusthe status code of an exception
Returns
the string representation for that code

◆ what()

const char* what ( ) const
inlineoverridenoexcept

Get the string representation for the exception.

Returns
the string explaining the exception

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