Connector.php
public function error($message)
    {
        if ($this->logger) {
            $this->logger->error($message);
        }
        if (!$this->debug) {
            throw new \RuntimeException($message);
        }
    }
public function error($message)
    {
        if ($this->logger) {
            $this->logger->error($message);
        }
        if (!$this->debug) {
            throw new \RuntimeException($message);
        }
    }
public function error ( $ message ) { if ( $ this -> logger ) { $ this -> logger -> error ( $ message ) ; } if ( ! $ this -> debug ) { throw new \ RuntimeException ( $ message ) ; } }
error Handling.

@param string $message

@throws \RuntimeException
error Handling .