miniproto.media.download.MediaIntegrityError
miniproto.media.download.MediaIntegrityError
Section titled “miniproto.media.download.MediaIntegrityError”MediaIntegrityError(reason: str, *, offset: int, limit: int) -> NoneBases: MediaDownloadError
Raised when declared file hashes or download-range invariants are violated.
Parameters:
- reason (
str) – Machine-readable explanation of the integrity failure. - offset (
int) – First affected media byte offset. - limit (
int) – Number of affected bytes.
Record the corrupted interval and format the transfer error message.
Parameters: