Download src/Ai/Domain/Exceptions/ModelNotAccessibleException.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 556 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Ai/Domain/Exceptions/ModelNotAccessibleException.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Ai/Domain/Exceptions/ModelNotAccessibleException.php
-
curl -L -o ModelNotAccessibleException.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Ai/Domain/Exceptions/ModelNotAccessibleException.php
556 Bytes
| declare(strict_types=1); | |
| namespace Ai\Domain\Exceptions; | |
| use Ai\Domain\Services\AiServiceInterface; | |
| use Ai\Domain\ValueObjects\Model; | |
| use Exception; | |
| use Throwable; | |
| class ModelNotAccessibleException extends Exception | |
| { | |
| public function __construct( | |
| public readonly Model $model, | |
| int $code = 0, | |
| ?Throwable $previous = null | |
| ) { | |
| $message = sprintf( | |
| 'Model "%s" is not accessible in your plan.', | |
| $model->value, | |
| ); | |
| parent::__construct($message, $code, $previous); | |
| } | |
| } | |