IDS peak AFL v2.1.0
Loading...
Searching...
No Matches
Exception Class Reference

General Error type. More...

#include <peak_afl/peak_afl.hpp>

Inheritance diagram for Exception:
Exception BadAccessException BufferTooSmallException BusyException CorruptedDataException InternalErrorException InvalidCastException InvalidImageFormatException InvalidParameterException NotInitializedException NotSupportedException

Public Member Functions

peak_afl_status code () const
 Get the return code for the failure.

Static Public Member Functions

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

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
Since
1.1

◆ translateCode()

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
Since
1.1

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