# Copyright (c) CloudZero - ALL RIGHTS RESERVED - PROPRIETARY AND CONFIDENTIAL
# Unauthorized copying of this file and/or project, via any medium is strictly prohibited.
# Direct all questions to legal@cloudzero.com


class UnsupportedResourceTypeError(ValueError):
    """
    The parent class for any future unsupported resources errors.
    Some unsupported resources are AssumedRoles, S3 keys, and Log Streams.
    """


class ResourceS3KeyError(UnsupportedResourceTypeError):
    """
    Exception thrown when we encounter a resource that is an s3 key.
    We don't want to process these, cause there are too many
    """


class ResourceWildcardError(UnsupportedResourceTypeError):
    """
    Exception thrown when we encounter an ARN that contains wildcards or otherwise does not resolve to a single
    resource.  We must reject ARNs that can't map to unique CZRNs when we see them.
    """
