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):
|
class MetadataException(Exception):
|
||||||
"""Base class for all metadata-related exceptions."""
|
"""Base class for all metadata-related exceptions."""
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class UnsupportedFormatError(MetadataException):
|
class UnsupportedFormatError(MetadataException):
|
||||||
"""Raised when attempting to process an unsupported file format."""
|
"""Raised when attempting to process an unsupported file format."""
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class MetadataNotFoundError(MetadataException):
|
class MetadataNotFoundError(MetadataException):
|
||||||
"""Raised when no metadata is found in a file."""
|
"""Raised when no metadata is found in a file."""
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class MetadataProcessingError(MetadataException):
|
class MetadataProcessingError(MetadataException):
|
||||||
"""Raised when an error occurs during metadata processing."""
|
"""Raised when an error occurs during metadata processing."""
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class MetadataReadingError(MetadataException):
|
class MetadataReadingError(MetadataException):
|
||||||
"""Raised when an error occurs during metadata reading."""
|
"""Raised when an error occurs during metadata reading."""
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue