tagkit.core.exceptions

Exception classes for tagkit.

This module contains all custom exceptions used throughout the tagkit package.

Module Contents

API

exception tagkit.core.exceptions.TagkitError

Bases: Exception

Base exception for all custom tagkit errors.

Initialization

Initialize self. See help(type(self)) for accurate signature.

exception tagkit.core.exceptions.ValidationError

Bases: tagkit.core.exceptions.TagkitError

Raised when a validation error occurs in tagkit.

Initialization

Initialize self. See help(type(self)) for accurate signature.

exception tagkit.core.exceptions.ConversionError

Bases: tagkit.core.exceptions.TagkitError

Raised when a conversion error occurs in tagkit.

Initialization

Initialize self. See help(type(self)) for accurate signature.

exception tagkit.core.exceptions.ExifToolError

Bases: tagkit.core.exceptions.TagkitError

Raised when an error occurs while using an external EXIF tool.

Initialization

Initialize self. See help(type(self)) for accurate signature.

exception tagkit.core.exceptions.BatchProcessingError

Bases: tagkit.core.exceptions.TagkitError

Raised when an error occurs during batch processing of images.

Initialization

Initialize self. See help(type(self)) for accurate signature.

exception tagkit.core.exceptions.DateTimeError

Bases: tagkit.core.exceptions.TagkitError

Raised when a date/time parsing or formatting error occurs.

Initialization

Initialize self. See help(type(self)) for accurate signature.

exception tagkit.core.exceptions.InvalidTagName(tag_name: str)

Bases: tagkit.core.exceptions.TagkitError

Raised when an invalid tag name is used.

Args:

tag_name (str): The invalid tag name.

Initialization

Initialize self. See help(type(self)) for accurate signature.

exception tagkit.core.exceptions.InvalidTagId(tag_id: int)

Bases: tagkit.core.exceptions.TagkitError

Raised when the supplied tag id isn’t valid.

Args:

tag_id (int): The invalid tag ID.

Initialization

Initialize self. See help(type(self)) for accurate signature.