Added a GenericError.
Updated client.py for new response type.