temp: temporty quic impl

This commit is contained in:
Akash Mondal
2025-06-10 07:12:15 +00:00
committed by lla-dane
parent 5c11ac20e7
commit 446a22b0f0
7 changed files with 1022 additions and 0 deletions

View File

@ -0,0 +1,35 @@
"""
QUIC transport specific exceptions.
"""
from libp2p.exceptions import (
BaseLibp2pError,
)
class QUICError(BaseLibp2pError):
"""Base exception for QUIC transport errors."""
class QUICDialError(QUICError):
"""Exception raised when QUIC dial operation fails."""
class QUICListenError(QUICError):
"""Exception raised when QUIC listen operation fails."""
class QUICConnectionError(QUICError):
"""Exception raised for QUIC connection errors."""
class QUICStreamError(QUICError):
"""Exception raised for QUIC stream errors."""
class QUICConfigurationError(QUICError):
"""Exception raised for QUIC configuration errors."""
class QUICSecurityError(QUICError):
"""Exception raised for QUIC security/TLS errors."""