Improved error handling

Throw actual exception, and include all information libs7comm provides.