User Defined Warnings¶
pcapkit.warnings
refined built-in warnings.
- exception pcapkit.utilities.warnings.BaseWarning(*args, **kwargs)[source]¶
Bases:
UserWarning
Base warning class of all kinds.
- Parameters:
*args – Arbitrary positional arguments.
**kwargs – Arbitrary keyword arguments.
ImportWarning
Category¶
- exception pcapkit.utilities.warnings.FormatWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,ImportWarning
Warning on unknown format(s).
- exception pcapkit.utilities.warnings.EngineWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,ImportWarning
Unsupported extraction engine.
- exception pcapkit.utilities.warnings.InvalidVendorWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,ImportWarning
Vendor CLI invalid updater.
RuntimeWarning
Category¶
- exception pcapkit.utilities.warnings.FileWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,RuntimeWarning
Warning on file(s).
- exception pcapkit.utilities.warnings.LayerWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,RuntimeWarning
Unrecognised layer.
- exception pcapkit.utilities.warnings.ProtocolWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,RuntimeWarning
Unrecognised protocol.
- exception pcapkit.utilities.warnings.AttributeWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,RuntimeWarning
Unsupported attribute.
- exception pcapkit.utilities.warnings.DevModeWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,RuntimeWarning
Run in development mode.
- exception pcapkit.utilities.warnings.VendorRequestWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,RuntimeWarning
Vendor request connection failed.
- exception pcapkit.utilities.warnings.VendorRuntimeWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,RuntimeWarning
Vendor failed during runtime.
- exception pcapkit.utilities.warnings.UnknownFieldWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,RuntimeWarning
Unknown field.
- exception pcapkit.utilities.warnings.RegistryWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,RuntimeWarning
Registry warning.
- exception pcapkit.utilities.warnings.SchemaWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,RuntimeWarning
Schema warning.
- exception pcapkit.utilities.warnings.InfoWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,RuntimeWarning
Info class warning.
- exception pcapkit.utilities.warnings.SeekWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,RuntimeWarning
Seek operation warning.
- exception pcapkit.utilities.warnings.ExtractionWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,RuntimeWarning
Extraction warning.
ResourceWarning
Category¶
- exception pcapkit.utilities.warnings.DPKTWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,ResourceWarning
Warnings on DPKT usage.
- exception pcapkit.utilities.warnings.ScapyWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,ResourceWarning
Warnings on Scapy usage.
- exception pcapkit.utilities.warnings.PySharkWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,ResourceWarning
Warnings on PyShark usage.
- exception pcapkit.utilities.warnings.EmojiWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,ResourceWarning
Warnings on Emoji usage.
- exception pcapkit.utilities.warnings.VendorWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,ResourceWarning
Warnings on vendor usage.
DeprecationWarning
Category¶
- exception pcapkit.utilities.warnings.DeprecatedFormatWarning(*args, **kwargs)[source]¶
Bases:
BaseWarning
,DeprecationWarning
Warning on deprecated formats.