Fill in the ERROR array when the Flow fails.

Workflow creates an error object if the workflow fails and callers
of Workflow::Simple check for them to decide if their process
succeeded.

Change-Id: I5f2be15c679f5b6569c81dec167f280c5b231cd3