workflows: New stage for error

* Adds new stage for objects that encountered an error

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>