class ExpoError(Exception): """Base class for custom exception from Expo.""" class InvalidReceiptsNumberError(ExpoError): """Error type for case when Expo returns number of receipts which is not equal to number of sent messages. """ class MultipleProjectsError(ExpoError): """Batch with tokens related to different projects was sent to Expo. Error with 'PUSH_TOO_MANY_EXPERIENCE_IDS' code. """ token_groups: dict def __init__(self, token_groups): self.token_groups = token_groups