<?php
namespace ThinkSayDo\EnvTenant\Events;

class TenantNotResolvedException extends \Exception
{

}
<?php
namespace ThinkSayDo\EnvTenant\Events;

class TenantNotResolvedException extends \Exception
{
    public function getTenant()
    {
        return $this->getMessage();
    }
}
Add getTenant method to Exception.
Add getTenant method to Exception.
