OpenXE/classes/Modules/FiskalyApi/Exception/VatRateNotFoundException.php
2021-05-21 08:49:41 +02:00

13 lines
298 B
PHP

<?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");
}
}