DRY with Lambda Expression (errors management)