allow errors to be set in workflow