Turning the echoed error into an Exception. Added try/catch blocks in `uaparser-cli.php` to cope with this.