Files
chat/venv/lib/python3.12/site-packages/structlog/exceptions.py
Andrew K. Choi ddce9f5125
All checks were successful
continuous-integration/drone/push Build is passing
Major fixes and new features
2025-09-25 15:51:48 +09:00

19 lines
503 B
Python

# SPDX-License-Identifier: MIT OR Apache-2.0
# This file is dual licensed under the terms of the Apache License, Version
# 2.0, and the MIT License. See the LICENSE file in the root of this
# repository for complete details.
"""
Exceptions factored out to avoid import loops.
"""
from __future__ import annotations
class DropEvent(BaseException):
"""
If raised by an processor, the event gets silently dropped.
Derives from BaseException because it's technically not an error.
"""