def getRspErrorMsg(cls, rsp):
        if rsp['stat'] == "fail":
            return rsp.err[0]['msg']

        return "Success"
Return the error message of a response, or "Success" if no error.
dataset/ETHPy150Open sightmachine/SimpleCV/SimpleCV/MachineLearning/query_imgs/flickrapi2.py/FlickrAPI.getRspErrorMsg