# Path: firebase_admin/exceptions.py
# INVALID_ARGUMENT = 'INVALID_ARGUMENT'
# FAILED_PRECONDITION = 'FAILED_PRECONDITION'
# OUT_OF_RANGE = 'OUT_OF_RANGE'
# UNAUTHENTICATED = 'UNAUTHENTICATED'
# PERMISSION_DENIED = 'PERMISSION_DENIED'
# NOT_FOUND = 'NOT_FOUND'
# CONFLICT = 'CONFLICT'
# ABORTED = 'ABORTED'
# ALREADY_EXISTS = 'ALREADY_EXISTS'
# RESOURCE_EXHAUSTED = 'RESOURCE_EXHAUSTED'
# CANCELLED = 'CANCELLED'
# DATA_LOSS = 'DATA_LOSS'
# UNKNOWN = 'UNKNOWN'
# INTERNAL = 'INTERNAL'
# UNAVAILABLE = 'UNAVAILABLE'
# DEADLINE_EXCEEDED = 'DEADLINE_EXCEEDED'
# class FirebaseError(Exception):
# class InvalidArgumentError(FirebaseError):
# class FailedPreconditionError(FirebaseError):
# class OutOfRangeError(FirebaseError):
# class UnauthenticatedError(FirebaseError):
# class PermissionDeniedError(FirebaseError):
# class NotFoundError(FirebaseError):
# class ConflictError(FirebaseError):
# class AbortedError(FirebaseError):
# class AlreadyExistsError(FirebaseError):
# class ResourceExhaustedError(FirebaseError):
# class CancelledError(FirebaseError):
# class DataLossError(FirebaseError):
# class UnknownError(FirebaseError):
# class InternalError(FirebaseError):
# class UnavailableError(FirebaseError):
# class DeadlineExceededError(FirebaseError):
#     def __init__(self, code, message, cause=None, http_response=None):
#     def code(self):
#     def cause(self):
#     def http_response(self):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):


from firebase_admin import exceptions
    def __init__(self, analytics_label=None):
        self.analytics_label = analytics_label


class ThirdPartyAuthError(exceptions.UnauthenticatedError):
    """APNs certificate or web push auth key was invalid or missing."""

    def __init__(self, message, cause=None, http_response=None):
        exceptions.UnauthenticatedError.__init__(self, message, cause, http_response)


class QuotaExceededError(exceptions.ResourceExhaustedError):
    """Sending limit exceeded for the message target."""

    def __init__(self, message, cause=None, http_response=None):
        exceptions.ResourceExhaustedError.__init__(self, message, cause, http_response)


class SenderIdMismatchError(exceptions.PermissionDeniedError):
    """The authenticated sender ID is different from the sender ID for the registration token."""

    def __init__(self, message, cause=None, http_response=None):
        exceptions.PermissionDeniedError.__init__(self, message, cause, http_response)


class UnregisteredError(exceptions.NotFoundError):
    """App instance was unregistered from FCM.

    This usually means that the token used is no longer valid and a new one must be used."""


# Path: firebase_admin/exceptions.py
# INVALID_ARGUMENT = 'INVALID_ARGUMENT'
# FAILED_PRECONDITION = 'FAILED_PRECONDITION'
# OUT_OF_RANGE = 'OUT_OF_RANGE'
# UNAUTHENTICATED = 'UNAUTHENTICATED'
# PERMISSION_DENIED = 'PERMISSION_DENIED'
# NOT_FOUND = 'NOT_FOUND'
# CONFLICT = 'CONFLICT'
# ABORTED = 'ABORTED'
# ALREADY_EXISTS = 'ALREADY_EXISTS'
# RESOURCE_EXHAUSTED = 'RESOURCE_EXHAUSTED'
# CANCELLED = 'CANCELLED'
# DATA_LOSS = 'DATA_LOSS'
# UNKNOWN = 'UNKNOWN'
# INTERNAL = 'INTERNAL'
# UNAVAILABLE = 'UNAVAILABLE'
# DEADLINE_EXCEEDED = 'DEADLINE_EXCEEDED'
# class FirebaseError(Exception):
# class InvalidArgumentError(FirebaseError):
# class FailedPreconditionError(FirebaseError):
# class OutOfRangeError(FirebaseError):
# class UnauthenticatedError(FirebaseError):
# class PermissionDeniedError(FirebaseError):
# class NotFoundError(FirebaseError):
# class ConflictError(FirebaseError):
# class AbortedError(FirebaseError):
# class AlreadyExistsError(FirebaseError):
# class ResourceExhaustedError(FirebaseError):
# class CancelledError(FirebaseError):
# class DataLossError(FirebaseError):
# class UnknownError(FirebaseError):
# class InternalError(FirebaseError):
# class UnavailableError(FirebaseError):
# class DeadlineExceededError(FirebaseError):
#     def __init__(self, code, message, cause=None, http_response=None):
#     def code(self):
#     def cause(self):
#     def http_response(self):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):
#     def __init__(self, message, cause=None, http_response=None):


# Path: firebase_admin/_messaging_utils.py
from firebase_admin import exceptions

    def __init__(self, analytics_label=None):
        self.analytics_label = analytics_label


class ThirdPartyAuthError(exceptions.UnauthenticatedError):
    """APNs certificate or web push auth key was invalid or missing."""

    def __init__(self, message, cause=None, http_response=None):
        exceptions.UnauthenticatedError.__init__(self, message, cause, http_response)


class QuotaExceededError(exceptions.ResourceExhaustedError):
    """Sending limit exceeded for the message target."""

    def __init__(self, message, cause=None, http_response=None):
        exceptions.ResourceExhaustedError.__init__(self, message, cause, http_response)


class SenderIdMismatchError(exceptions.PermissionDeniedError):
    """The authenticated sender ID is different from the sender ID for the registration token."""

    def __init__(self, message, cause=None, http_response=None):
        exceptions.PermissionDeniedError.__init__(self, message, cause, http_response)


class UnregisteredError(exceptions.NotFoundError):
    """App instance was unregistered from FCM.

    This usually means that the token used is no longer valid and a new one must be used."""


    def __init__(self, message, cause=None, http_response=None):