#include <DocxManagerError.h>
Public Methods | |
DocxManagerError () noexcept | |
Default constructor | |
DocxManagerError (std::string const &message, DocxManagerErrorCode const docx_manager_error_code) noexcept | |
Constructor to specify the message and the error code | |
DocxManagerError (DocxManagerErrorCode const docx_manager_error_code) noexcept | |
Constructor to specify the error code | |
~DocxManagerError () | |
Default destructor | |
std::string | getMessage () const noexcept |
Get the error message Error message | |
void | setMessage (std::string const &message) noexcept |
Set the error message | |
DocxManagerErrorCode | getDocxManagerErrorCode () const noexcept |
Get the error code Error code | |
void | setDocxManagerErrorCode (DocxManagerErrorCode const docx_manager_error_code) noexcept |
Set the error code | |
void | throwDocxManagerError () const |
Exception throw | |
Private Attributes | |
DocxManagerErrorCode | m_docx_manager_error_code |
Error code | |
std::string | m_message |
Error message | |
Static Private Attributes | |
const std::unordered_map< DocxManagerErrorCode, std::string > | m_errorcode_msg |
|
Default constructor
|
|
Constructor to specify the message and the error code
|
|
Constructor to specify the error code
|
|
Default destructor
|
|
Get the error message Error message
|
|
Set the error message
|
|
Get the error code Error code
|
|
Set the error code
|
|
Exception throw
|
|
|
|
Error code
|
|
Error message
|