Download src/Affiliate/Domain/Exceptions/AffiliateNotFoundException.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 536 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Affiliate/Domain/Exceptions/AffiliateNotFoundException.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Affiliate/Domain/Exceptions/AffiliateNotFoundException.php
-
curl -L -o AffiliateNotFoundException.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Affiliate/Domain/Exceptions/AffiliateNotFoundException.php
536 Bytes
| declare(strict_types=1); | |
| namespace Affiliate\Domain\Exceptions; | |
| use Affiliate\Domain\ValueObjects\Code; | |
| use Exception; | |
| use Throwable; | |
| class AffiliateNotFoundException extends Exception | |
| { | |
| public function __construct( | |
| public readonly Code $affiliateCode, | |
| int $code = 0, | |
| Throwable $previous = null | |
| ) { | |
| $message = sprintf( | |
| "Affiliate with code <%s> doesn't exists!", | |
| $affiliateCode->value | |
| ); | |
| parent::__construct($message, $code, $previous); | |
| } | |
| } | |