Skip to content

Latest commit

 

History

History
17 lines (17 loc) · 1.21 KB

2023-06-21-add-domain-exception-for-customer.md

File metadata and controls

17 lines (17 loc) · 1.21 KB
title issue
Add Domain Exception for customer
NEXT-26919

Core

  • Added new static methods for domain exception class Shopware\Core\Checkout\Customer\CustomerException.
  • Added new static method addressNotFound for domain exception class Shopware\Core\Checkout\Cart\CartException.
  • Added new static method customerAuthThrottledException for domain exception class Shopware\Core\Checkout\Order\OrderException.
  • Added new static method customerNotFoundByIdException for domain exception class Shopware\Core\System\SalesChannel\SalesChannelException.
  • Deprecated the following exceptions in replacement for Domain Exceptions:
    • Shopware\Core\Checkout\Customer\Exception\CannotDeleteActiveAddressException
    • Shopware\Core\Checkout\Customer\Exception\CustomerGroupRegistrationConfigurationNotFound
    • Shopware\Core\Checkout\Customer\Exception\CustomerWishlistNotActivatedException
    • Shopware\Core\Checkout\Customer\Exception\InactiveCustomerException
    • Shopware\Core\Checkout\Customer\Exception\LegacyPasswordEncoderNotFoundException
    • Shopware\Core\Checkout\Customer\Exception\WishlistProductNotFoundException
    • Shopware\Core\Checkout\Customer\Exception\NoHashProvidedException