mirror of
https://github.com/snipe/snipe-it.git
synced 2026-08-18 11:15:42 +00:00
15 lines
402 B
PHP
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 {}
|