wrap YQL.exec to return error properly