def add_error(self, message):
        self.errors[NON_FIELD_ERRORS] = self.error_class([message])
Adds an error to the Action's Step based on API issues.
dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/horizon/workflows/base.py/Action.add_error