1
0
mirror of https://github.com/OpenXE-org/OpenXE.git synced 2025-01-18 09:41:14 +01:00
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");
}
}