Skip to content

objstorage: Factorize object check and add ObjCorruptedError exception

Implement object check in base ObjStorage class instead of duplicating that code in every object storage backend.

Add an ObjCorruptedError exception raised when an object corruption is detected.

Improve exception messages.

Normalize imports of exception classes.

Related to swh-scrubber#4694.

Merge request reports

Loading