Начало разработки обучения.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace DarksLight2\Training;
|
||||
|
||||
use Exception;
|
||||
|
||||
class TrainingException extends Exception
|
||||
{
|
||||
public static function alreadyRegistered(): self
|
||||
{
|
||||
return new self("The steps have been registered before");
|
||||
}
|
||||
|
||||
public static function noRenderingFile(): self
|
||||
{
|
||||
return new self("Rendering file missing");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user