for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace AardsGerds\Game\Player;
final class PlayerException extends \DomainException
{
public static function death(): self
return new self('You have just died');
}
public static function etherumOverdose(): self
return new self('You have just died from etherum overdose');