metadata-srubber-tool:
removed pass from exception classes
This commit is contained in:
parent
94133a39d9
commit
a97164757e
|
|
@ -9,28 +9,18 @@ metadata scrubber tool for handling various error conditions.
|
|||
class MetadataException(Exception):
|
||||
"""Base class for all metadata-related exceptions."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class UnsupportedFormatError(MetadataException):
|
||||
"""Raised when attempting to process an unsupported file format."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class MetadataNotFoundError(MetadataException):
|
||||
"""Raised when no metadata is found in a file."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class MetadataProcessingError(MetadataException):
|
||||
"""Raised when an error occurs during metadata processing."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class MetadataReadingError(MetadataException):
|
||||
"""Raised when an error occurs during metadata reading."""
|
||||
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in New Issue