Made it possible to automatically reverse applied steps if a specified
error is raised