Skip to content

continuous_timeseries.warnings#

Warnings that are used throughout

Classes:

Name Description
InterpolationUpdateChangedValuesAtBoundsWarning

Raised when a user does an incompatible interpolation update

InterpolationUpdateChangedValuesAtBoundsWarning #

Bases: UserWarning

Raised when a user does an incompatible interpolation update

Put another way, when a user converts the interpolation of a timeseries in a way that may have confusing results.

Source code in src/continuous_timeseries/warnings.py
class InterpolationUpdateChangedValuesAtBoundsWarning(UserWarning):
    """
    Raised when a user does an incompatible interpolation update

    Put another way, when a user converts the interpolation of a timeseries
    in a way that may have confusing results.
    """

    def __init__(self, message: str) -> None:
        self.message = message