ErrorNoMem Class Reference
Error class for memory allocation errors. More...
#include <error.hpp>
Inheritance diagram for ErrorNoMem:
Public Member Functions | |
| ErrorNoMem (const ErrorLocation &loc) | |
| Constructor for memory allocation error with standard error message. | |
| ErrorNoMem (const ErrorLocation &loc, const std::string &str) | |
| Constructor for memory allocation error with custom error message. | |
Detailed Description
Error class for memory allocation errors.
Constructor & Destructor Documentation
| ErrorNoMem::ErrorNoMem | ( | const ErrorLocation & | loc | ) |
Constructor for memory allocation error with standard error message.
The error message is "memory allocation error".
| ErrorNoMem::ErrorNoMem | ( | const ErrorLocation & | loc, | |
| const std::string & | str | |||
| ) |
Constructor for memory allocation error with custom error message.
The documentation for this class was generated from the following file: