Initial unit tests, code cleanup
This commit is contained in:
13
src/UnknownDatasetExeption.php
Normal file
13
src/UnknownDatasetExeption.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace NoccyLabs\Dataset;
|
||||
|
||||
use RuntimeException;
|
||||
|
||||
class UnknownDatasetException extends RuntimeException
|
||||
{
|
||||
public static function DatasetNotFound(): self
|
||||
{
|
||||
return new UnknownDatasetException("The requested dataset is not available");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user