"""
Exceptions for the shoppingcart app
"""
# (Exception Class Names are sort of self-explanatory, so skipping docstring requirement)
# pylint: disable=missing-docstring


class PaymentException(Exception):
    pass


class PurchasedCallbackException(PaymentException):
    pass


class InvalidCartItem(PaymentException):
    pass


class ItemAlreadyInCartException(InvalidCartItem):
    pass


class AlreadyEnrolledInCourseException(InvalidCartItem):
    pass


class CourseDoesNotExistException(InvalidCartItem):
    pass


class CouponDoesNotExistException(InvalidCartItem):
    pass


class MultipleCouponsNotAllowedException(InvalidCartItem):
    pass


class RegCodeAlreadyExistException(InvalidCartItem):
    pass


class ItemNotAllowedToRedeemRegCodeException(InvalidCartItem):
    pass


class ItemDoesNotExistAgainstRegCodeException(InvalidCartItem):
    pass


class ReportException(Exception):
    pass


class ReportTypeDoesNotExistException(ReportException):
    pass


class InvalidStatusToRetire(Exception):
    pass


class UnexpectedOrderItemStatus(Exception):
    pass
