`errorToObject()` util added + bug in async fixed