3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-08-18 11:15:42 +00:00
Files
snipe-it/app/Exceptions/DuplicateCheckoutRequest.php
2026-08-07 17:43:15 +01:00

15 lines
402 B
PHP

<?php
namespace App\Exceptions;
use Exception;
/**
* Thrown by CreateCheckoutRequestAction when the caller already has an
* active (not-yet-canceled) CheckoutRequest for the same requestable.
* Enforces the one-active-request-per-user-per-asset invariant so the
* shared requests_counter and admin queue stay 1:1 with real active
* rows.
*/
class DuplicateCheckoutRequest extends Exception {}