send an error callback for all OSErrors
Merge pull request #22 from mark-burnett/oserror-callback

Send an error callback for all OSErrors