setting 'errno' to nil to prevent warnings fetching it
refactoring exception variable declaration
Merge pull request #27 from mtoledo/master

setting 'errno' to nil to prevent warnings fetching it