Function lsst::pex::exceptions::LSST_EXCEPTION_TYPE(RangeError, RuntimeError, lsst::pex::exceptions::RangeError)¶
Function Documentation¶
-
lsst::pex::exceptions::DomainError lsst::pex::exceptions::LengthError lsst::pex::exceptions::RuntimeError lsst::pex::exceptions::LSST_EXCEPTION_TYPE(RangeError, RuntimeError, lsst::pex::exceptions::RangeError)
Reports when the result of an operation cannot be represented by the destination type.
Situations covered by this exception include lossy type conversions.
In Python, this exception inherits from
builtins.OverflowError
.- See
OverflowError
- See
UnderflowError
- See
std::range_error Reports when the result of an arithmetic operation is too large for the destination type.
- See
std::overflow_error