#NEWLINE# def set_workflow_step_errors( self , context ) : #NEWLINE# #INDENT# workflow = context [ 'workflow' ] #NEWLINE# for step in context . step_errors : #NEWLINE# #INDENT# error_msg = self . step_errors [ step ] #NEWLINE# workflow . add_error_to_step ( error_msg , step )