exception used to carry system error
More...
#include <erreurs.hpp>
|
enum | io_error { io_exist
, io_absent
, io_access
, io_ro_fs
} |
|
|
| Esystem (const std::string &source, const std::string &message, io_error code) |
|
| Esystem (const Esystem &ref)=default |
|
| Esystem (Esystem &&ref)=default |
|
Esystem & | operator= (const Esystem &ref)=default |
|
Esystem & | operator= (Esystem &&ref)=default |
|
io_error | get_code () const |
|
| Egeneric (const std::string &source, const std::string &message) |
| the constructor
|
|
| Egeneric (const Egeneric &ref)=default |
| copy constructor
|
|
| Egeneric (Egeneric &&ref)=default |
| move constructor
|
|
Egeneric & | operator= (const Egeneric &ref)=default |
| assignment operator
|
|
Egeneric & | operator= (Egeneric &&ref) noexcept=default |
| move operator
|
|
virtual | ~Egeneric ()=default |
| the destructor
|
|
void | stack (const std::string &passage, const std::string &message="") |
| add more detailed couple of information to the exception More...
|
|
void | stack (const std::string &&passage, const std::string &&message="") |
|
const std::string & | get_message () const |
| get the message explaing the nature of the exception More...
|
|
const std::string & | get_source () const |
| get the call function which has thrown this exception More...
|
|
const std::string & | find_object (const std::string &location) const |
| retrieve the objet (object) associated to a given "lieu" (location) from the stack More...
|
|
void | prepend_message (const std::string &context) |
| prepend error message by the given string
|
|
std::string | dump_str () const |
| return a string result of the exception information dump
|
|
|
virtual std::string | exceptionID () const override |
|
virtual std::string | exceptionID () const =0 |
|
exception used to carry system error
Definition at line 405 of file erreurs.hpp.
◆ io_error
enum libdar::Esystem::io_error |
◆ exceptionID()
virtual std::string libdar::Esystem::exceptionID |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ get_code()
io_error libdar::Esystem::get_code |
( |
| ) |
const |
|
inline |
◆ x_code
io_error libdar::Esystem::x_code |
|
private |
The documentation for this class was generated from the following file: