Source code for weaver.warning

Warnings emitted during the weaver flow.

[docs] class WeaverWarning(Warning): """ Base class of :class:`Warning` defined by :mod:`weaver` package. """
[docs] class UndefinedContainerWarning(WeaverWarning): """ Warn when settings or the registry could not be resolved from an explicit container reference. """
[docs] class TimeZoneInfoAlreadySetWarning(WeaverWarning): """ Warn when trying to obtain a localized time with already defined time-zone info. """
[docs] class DisabledSSLCertificateVerificationWarning(WeaverWarning): """ Warn when an option to disable SSL certificate verification is employed for some operations. """
[docs] class UnsupportedOperationWarning(WeaverWarning): """ Warn about an operation not yet implemented or unsupported according to context. """
[docs] class NonBreakingExceptionWarning(WeaverWarning): """ Warn about an exception that is handled (ex: caught in try/except block) but still unexpected. """
[docs] class MissingParameterWarning(WeaverWarning): """ Warn about an expected but missing parameter. """