Update errorLogger.php

    $this->error = $errorType->getMessage();

Don't set the injected instance to just one method.  What if u later add more methods?  You want access to those!