add error-fn to call when errors occur, 0.4.6-alpha
Merge pull request #25 from paulbellamy/error-fn

add error-fn to call when errors occur, 0.4.6-alpha