scalarstop.warnings

Issue warnings.

Module Contents

Functions

warn(message: str) → None

Issue a ScalarStop warning.

warn_deprecated(message: str) → None

Issue a ScalarStop deprecation warning.

exception ScalarStopWarning

Bases: UserWarning

Parent class for all ScalarStop warnings.

Initialize self. See help(type(self)) for accurate signature.

class args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception ScalarStopDeprecationWarning

Bases: scalarstop.warnings.ScalarStopWarning

Raised when the user uses a deprecated feature.

Initialize self. See help(type(self)) for accurate signature.

class args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

warn(message: str)None

Issue a ScalarStop warning.

warn_deprecated(message: str)None

Issue a ScalarStop deprecation warning.