atk4/atk4 — pull request #395 by si4dev (2013-08-23 11:43:33+00:00)
Title: throw consistently all errors into exceptions

Atk4 shows a nice message by default when an error exception occurs which are handled by the Logger class. However some errors are not reported as exception by php and then atk4 will handle this in static.php.
E.g. ftp_login($this->connection, $this->user, $this->pass) will generate this error by static.php:
/lib/FTP.php:60 [2] ftp_login() [function.ftp-login]: Login incorrect.

This pull request will also passthrough these errors as exceptions. This way it also reaches the Logger class and handles it conform how Logger is configured ( $config['logger'] options).