Update API to wrap remote errors.
Write error handling part in readme.