rheon.RefusedValueError¶
- class rheon.RefusedValueError[source]¶
Bases:
ValueErrorThe error raised for a refused value.
The value is out of range, or a combination of settings is refused, such as
reverse=Truewith nowindow_sizeto end the rows read ahead. It is aValueError, the class for a value out of range or a combination refused.Examples
try: rp.ewm_mean("x", half_life=10.0, reverse=True) # no window_size except ValueError as e: print(type(e).__name__, str(e).split(",")[0])
RefusedValueError rp.ewm_mean: reverse=True needs window_size
See also
WrongTypeError, its counterpart for a value of the wrong type.