Major fixes and new features
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
18
venv/lib/python3.12/site-packages/structlog/exceptions.py
Normal file
18
venv/lib/python3.12/site-packages/structlog/exceptions.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# 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.
|
||||
"""
|
||||
Reference in New Issue
Block a user