Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /dislovelhl_enhanced-agent-bus /session_governance.py
| """ | |
| Backward-compatibility shims for legacy session governance exceptions. | |
| Constitutional Hash: 608508a9bd224290 | |
| This module was previously the home for session governance implementation. | |
| The implementation moved, but these exception symbols are kept for import | |
| compatibility with existing consumers. | |
| """ | |
| from enhanced_agent_bus._compat.errors import ACGSBaseError | |
| class SessionGovernanceError(ACGSBaseError): | |
| """Base exception for legacy session governance errors.""" | |
| http_status_code = 500 | |
| error_code = "SESSION_GOVERNANCE_ERROR" | |
| class SessionNotFoundError(SessionGovernanceError): | |
| """Raised when a legacy session governance session cannot be found.""" | |
| http_status_code = 404 | |
| error_code = "SESSION_NOT_FOUND" | |
| class PolicyResolutionError(SessionGovernanceError): | |
| """Raised when policy resolution fails in legacy session governance flows.""" | |
| http_status_code = 500 | |
| error_code = "POLICY_RESOLUTION_ERROR" | |
| __all__ = [ | |
| "PolicyResolutionError", | |
| "SessionGovernanceError", | |
| "SessionNotFoundError", | |
| ] | |
Xet Storage Details
- Size:
- 1.05 kB
- Xet hash:
- 1b8d8ee8f0decae58c6bcb02182fa94185b76a063bea7129292b90c965e2acbf
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.