Implementations of Error class for different types of exceptions.
More...
This namespace contains implementations of Error class adapted for different types of exceptions.
Error cfl::NError::range |
( |
const char * |
pWhere | ) |
|
This type of error indicates that some parameter is out of acceptable range. For example, negative volatility, invalid time.
- Parameters
-
pWhere | Additional info on the error. |
- Returns
- Generic class for exceptions in cfl library.
Error cfl::NError::size |
( |
const char * |
pWhere | ) |
|
This type of error indicates that some vector or array does not have correct size.
- Parameters
-
pWhere | Additional info on the error. For example, which vector has invalid size. |
- Returns
- Generic class for exceptions in cfl library.
Error cfl::NError::sort |
( |
const char * |
pWhere | ) |
|
This type of error usually indicates that an input vector (for example, a vector of event times) is not sorted, while it should be.
- Parameters
-
pWhere | Additional info on the error. |
- Returns
- Generic class for exceptions in cfl library.