game/_incl_data/class/DarksLight2/Training/TrainingException.php

18 lines
347 B
PHP
Raw Normal View History

<?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");
}
}