Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /li-boxuan_OpenDevin /openhands /resolver /patching /exceptions.py
| class PatchingException(Exception): | |
| pass | |
| class HunkException(PatchingException): | |
| def __init__(self, msg: str, hunk: int | None = None) -> None: | |
| self.hunk = hunk | |
| if hunk is not None: | |
| super().__init__('{msg}, in hunk #{n}'.format(msg=msg, n=hunk)) | |
| else: | |
| super().__init__(msg) | |
| class ApplyException(PatchingException): | |
| pass | |
| class SubprocessException(ApplyException): | |
| def __init__(self, msg: str, code: int) -> None: | |
| super().__init__(msg) | |
| self.code = code | |
| class HunkApplyException(HunkException, ApplyException, ValueError): | |
| pass | |
| class ParseException(HunkException, ValueError): | |
| pass | |
Xet Storage Details
- Size:
- 677 Bytes
- Xet hash:
- c88b87877319cb49ee7d532d934c75cde2f7e1975074f81b2ff2ac9f7579cfc0
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.