Error handling extension for Connection

Ref #22
Merge branch 'api-ng-exception'