[TASK] Add more failure expresses to ripple rest handler.

Add more failure expressions to pattern matching of ripple rest errors.