OpenXE/classes/Modules/FiskalyApi/Exception/VatRateNotFoundException.php

13 lines
298 B
PHP
Raw Normal View History

2021-05-21 08:49:41 +02:00
<?php
declare(strict_types=1);
namespace Xentral\Modules\FiskalyApi\Exception;
class VatRateNotFoundException extends FiskalyApiBaseException
{
public static function fromPercentage(float $percentage){
return new VatRateNotFoundException("VAT rate {$percentage} not found");
}
}