Use options as errorHandler (if typeof === Function)

Closes #11
0.6.1