VG: capture errors in a Result.result

Signed-off-by: David Scott <dave.scott@eu.citrix.com>