"""ows-delivery-metadata exceptions.""" from typing import Any class NotFoundException(Exception): pass class ProductIneligible(Exception): pass class UnprocessableException(Exception): pass class InvalidStoreDeliveryFormatVersion(UnprocessableException): pass class InvalidDeliveryFormatVersion(UnprocessableException): pass class NoArtistForTrack(NotFoundException): pass class NoArtistForRelease(NotFoundException): pass class NoLabelParticipantForParticipant(NotFoundException): pass class NoDistributionFeatures(NotFoundException): pass class StoreNotFound(NotFoundException): pass class ProductNotFound(NotFoundException): pass class ProductNotApproved(UnprocessableException): pass class ProductMissingReleaseDate(UnprocessableException): pass class ProductMissingSaleStartDate(UnprocessableException): pass class PrimaryArtistsMissing(NotFoundException): pass class EncodingProfileNotFound(UnprocessableException): pass class EncodingProfileIncorrect(UnprocessableException): pass class VideoProductNotFound(NotFoundException): pass class MissingTrackDataException(UnprocessableException): pass class BundleNotSupported(UnprocessableException): pass class DDEXPartyIDEmpty(UnprocessableException): pass class SchemaValidationError(Exception): def __init__(self, message: str, **kwargs: Any): self.xml_content = str(kwargs.get("xml_content")) Exception.__init__(self, message) class IncompatibleXMLValue(UnprocessableException): pass class GenreMappingMissing(UnprocessableException): pass class UnsupportedPlaceholder(UnprocessableException): pass class PricingDataNotFound(NotFoundException): pass class MissingTrackSpatialIsrc(UnprocessableException): pass