Removed throwing errors

error handling needs to happen in caller. changed to standard
callback(error, result)