| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class SkrillResponseException extends Exception implements SkrillException |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @param string $error |
||
| 16 | * |
||
| 17 | * @return SkrillResponseException |
||
| 18 | */ |
||
| 19 | public static function fromSkillError($error): self |
||
| 20 | { |
||
| 21 | return new self(sprintf('Skrill error: %s', $error)); |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return SkrillResponseException |
||
| 26 | */ |
||
| 27 | public static function invalidTransactionFormat(): self |
||
| 30 | } |
||
| 31 | } |
||
| 32 |