FeedInterface.php
2 months ago
FeedLockException.php
1 month ago
FeedValidatorInterface.php
7 months ago
ProductLoader.php
7 months ago
ProductMapperInterface.php
1 month ago
ProductWalker.php
1 month ago
ResumableFeedInterface.php
1 month ago
WalkerProgress.php
7 months ago
FeedLockException.php
23 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Feed Lock Exception. |
| 4 | * |
| 5 | * @package Automattic\WooCommerce\Internal\ProductFeed |
| 6 | */ |
| 7 | |
| 8 | declare(strict_types=1); |
| 9 | |
| 10 | namespace Automattic\WooCommerce\Internal\ProductFeed\Feed; |
| 11 | |
| 12 | use Exception; |
| 13 | |
| 14 | /** |
| 15 | * Thrown when a feed file cannot be locked because another generation process already holds the lock. |
| 16 | * |
| 17 | * This is distinct from a genuine generation failure: it means another process owns the feed and is |
| 18 | * actively writing it, so the caller should step aside rather than mark the job as failed. |
| 19 | * |
| 20 | * @since 11.0.0 |
| 21 | */ |
| 22 | class FeedLockException extends Exception {} |
| 23 |