snipe-it/app/Exceptions/CheckoutNotAllowed.php
snipe 1f247ff541 Don’t let the user checkout an asset to itself
(We should consolidate that AssetCheckoutRequest for the API)
2017-10-19 15:51:55 -07:00

13 lines
210 B
PHP

<?php
namespace App\Exceptions;
use Exception;
class CheckoutNotAllowed extends Exception
{
public function __toString()
{
return "A checkout is not allowed under these circumstances";
}
}