12 lines
210 B
PHP
12 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";
|
|
}
|
|
}
|