[FIX] consolidate RippleRest error checking
[FIX] consolidate RippleRest error checking

Parkjeahwan/awegeeks,whotooktwarden/gatewayd,xdv/gatewayd,zealord/gatewayd,crazyquark/gatewayd,whotooktwarden/gatewayd,crazyquark/gatewayd,zealord/gatewayd,xdv/gatewayd,Parkjeahwan/awegeeks