Error class for dimension mismatch errors. More...
#include <error.hpp>
Public Member Functions | |
ErrorDim (const ErrorLocation &loc) | |
Constructor for dimension mismatch error with standard error message. | |
ErrorDim (const ErrorLocation &loc, const std::string &str) | |
Constructor for dimension mismatch error with custom error message. |
Error class for dimension mismatch errors.
ErrorDim::ErrorDim | ( | const ErrorLocation & | loc | ) |
Constructor for dimension mismatch error with standard error message.
The error message is "dimension mismatch".
ErrorDim::ErrorDim | ( | const ErrorLocation & | loc, |
const std::string & | str | ||
) |
Constructor for dimension mismatch error with custom error message.