[FIX] consolidate RippleRest error checking