php-ml/src/Phpml/Exception/LibsvmCommandException.php

16 lines
285 B
PHP

<?php
declare(strict_types=1);
namespace Phpml\Exception;
use Exception;
class LibsvmCommandException extends Exception
{
public static function failedToRun(string $command): self
{
return new self(sprintf('Failed running libsvm command: "%s"', $command));
}
}