RESTError added to __init__.py