src/Exceptions/MissingMainCharacterException.php
<?php
namespace Herpaderpaldent\Seat\SeatGroups\Exceptions;
use Exception;
use Seat\Web\Models\Group;
class MissingMainCharacterException extends Exception
{
public function __construct(Group $group)
{
$message = sprintf('The group with ID %d does not have a main character set, ' .
'or related character information is missing.', $group->id);
parent::__construct($message, 0, null);
}
}