from fansifter_common.exceptions import FansifterError class FanDataListIdIsRequiredError(FansifterError): code = "fandata_list_id_is_required" message = "Fandata list id is required" status_code = 400 class MainRepArtistOnlyAllowedError(FansifterError): code = "main_rep_artist_only_allowed" message = "Main Rep Artist Only Allowed" status_code = 403 additional_properties = (("global_participant_id", str),) def __init__(self, global_participant_id: str): super().__init__() self.global_participant_id = global_participant_id class ArtistNotInRosterError(FansifterError): code = "artist_not_in_roster" message = "Artist Not In Roster" status_code = 403 additional_properties = (("global_participant_id", str),) def __init__(self, global_participant_id: str): super().__init__() self.global_participant_id = global_participant_id