Change RestException.forError to include the incoming throwable as the cause.