Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Successful in 3s
Integration Tests / test-service-integration (push) Failing after 10s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s
P2P Network Verification / p2p-verification (push) Successful in 4s
Python Tests / test-python (push) Successful in 29s
Security Scanning / security-scan (push) Has been cancelled
45 lines
821 B
Python
45 lines
821 B
Python
"""
|
|
AITBC Exception Hierarchy
|
|
Base exception classes for AITBC applications
|
|
"""
|
|
|
|
|
|
class AITBCError(Exception):
|
|
"""Base exception for all AITBC errors"""
|
|
pass
|
|
|
|
|
|
class ConfigurationError(AITBCError):
|
|
"""Raised when configuration is invalid or missing"""
|
|
pass
|
|
|
|
|
|
class NetworkError(AITBCError):
|
|
"""Raised when network operations fail"""
|
|
pass
|
|
|
|
|
|
class AuthenticationError(AITBCError):
|
|
"""Raised when authentication fails"""
|
|
pass
|
|
|
|
|
|
class EncryptionError(AITBCError):
|
|
"""Raised when encryption or decryption fails"""
|
|
pass
|
|
|
|
|
|
class DatabaseError(AITBCError):
|
|
"""Raised when database operations fail"""
|
|
pass
|
|
|
|
|
|
class ValidationError(AITBCError):
|
|
"""Raised when input validation fails"""
|
|
pass
|
|
|
|
|
|
class BridgeError(AITBCError):
|
|
"""Base exception for bridge errors"""
|
|
pass
|