Error class for index range checking errors. More...
#include <error.hpp>
Public Member Functions | |
ErrorRange (const ErrorLocation &loc, uint32_t i, uint32_t n, uint32_t j, uint32_t m) | |
Constructor for error message for two dimensional indexing error. | |
ErrorRange (const ErrorLocation &loc, uint32_t i, uint32_t n) | |
Constructor for error message for one dimensional indexing error. |
Error class for index range checking errors.
ErrorRange::ErrorRange | ( | const ErrorLocation & | loc, |
uint32_t | i, | ||
uint32_t | n, | ||
uint32_t | j, | ||
uint32_t | m | ||
) |
Constructor for error message for two dimensional indexing error.
The index i is supposed to be smaller than n and j smaller than m.
ErrorRange::ErrorRange | ( | const ErrorLocation & | loc, |
uint32_t | i, | ||
uint32_t | n | ||
) |
Constructor for error message for one dimensional indexing error.
The index i is supposed to be smaller than n.