Split REsponse into Error and Success objects