aGrUM  0.13.3
gum::IOError Class Reference

#include <agrum/core/exceptions.h>

+ Inheritance diagram for gum::IOError:
+ Collaboration diagram for gum::IOError:

Public Member Functions

const std::string what () const
 
const std::string errorContent () const
 Returns the message content. More...
 
const std::string errorType () const
 Returns the error type. More...
 
const std::string errorCallStack () const
 Returns the error call stack. More...
 

Protected Attributes

std::string _msg
 
std::string _type
 
std::string _callstack
 

Detailed Description

Exception : input/output problem

Definition at line 217 of file exceptions.h.

Member Function Documentation

◆ errorCallStack()

const std::string gum::Exception::errorCallStack ( ) const
inlineinherited

Returns the error call stack.

Returns
Returns the error call stack.

Definition at line 144 of file exceptions.h.

References gum::Exception::_callstack.

144 { return _callstack; }
std::string _callstack
Definition: exceptions.h:107

◆ errorContent()

const std::string gum::Exception::errorContent ( ) const
inlineinherited

◆ errorType()

const std::string gum::Exception::errorType ( ) const
inlineinherited

Returns the error type.

Returns
Returns the error type.

Definition at line 138 of file exceptions.h.

References gum::Exception::_type.

138 { return _type; }
std::string _type
Definition: exceptions.h:106

◆ what()

const std::string gum::Exception::what ( ) const
inlineinherited

Definition at line 125 of file exceptions.h.

References gum::Exception::_msg.

Referenced by gum::Exception::~Exception().

125 { return "[pyAgrum] " + _type + " : " + _msg; }
std::string _type
Definition: exceptions.h:106
std::string _msg
Definition: exceptions.h:105
+ Here is the caller graph for this function:

Member Data Documentation

◆ _callstack

std::string gum::Exception::_callstack
protectedinherited

Definition at line 107 of file exceptions.h.

Referenced by gum::Exception::errorCallStack().

◆ _msg

std::string gum::Exception::_msg
protectedinherited

◆ _type

std::string gum::Exception::_type
protectedinherited

Definition at line 106 of file exceptions.h.

Referenced by gum::Exception::errorType().


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