Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /topoteretes_cognee /cognee /cli /exceptions.py
| from typing import Optional | |
| class CliCommandException(Exception): | |
| """Exception raised by CLI commands with additional context""" | |
| def __init__( | |
| self, | |
| message: str, | |
| error_code: int = -1, | |
| docs_url: Optional[str] = None, | |
| raiseable_exception: Optional[Exception] = None, | |
| ) -> None: | |
| super().__init__(message) | |
| self.error_code = error_code | |
| self.docs_url = docs_url | |
| self.raiseable_exception = raiseable_exception | |
| class CliCommandInnerException(Exception): | |
| """Inner exception for wrapping other exceptions in CLI context""" | |
| pass | |
Xet Storage Details
- Size:
- 617 Bytes
- Xet hash:
- 0e65e21ea27923ce58395c2af23427fd7f592351df41bc9ec82a3eb4d889bc34
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.