provide an onError cb with an actual error
release 0.4.0