Source code for weaver.warning

"""
Warnings emitted during the weaver flow.
"""


[docs]class TimeZoneInfoAlreadySetWarning(Warning):
"""Warn when trying to obtain a localized time with already defined time-zone info."""
[docs]class DisabledSSLCertificateVerificationWarning(Warning):
"""Warn when an option to disable SSL certificate verification is employed for some operations."""
[docs]class UnsupportedOperationWarning(Warning):
"""Warn about an operation not yet implemented or unsupported according to context."""
[docs]class NonBreakingExceptionWarning(Warning):
"""Warn about an exception that is handled (ex: caught in try/except block) but still unexpected."""
[docs]class MissingParameterWarning(Warning):
"""Warn about an expected but missing parameter."""