<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def status(self, ):
 """The global status that summerizes all actions The status will be calculated in the following order: If any error occured, the status will be :data:`ActionStatus.ERROR`. If any failure occured, the status will be :data:`ActionStatus.FAILURE`. If all actions were successful or skipped, the status will be :data:`ActonStatus.SUCCESS` :returns: a status object that represents a summary of all actions :rtype: :class:`ActionStatus` :raises: None """

        status = ActionStatus(ActionStatus.SUCCESS, "All actions succeeded.")
        for a in self.actions:
            if a.status.value == ActionStatus.ERROR:
                status = ActionStatus(ActionStatus.ERROR, "Error: action \"%s\" raised an error!" % a.name, a.status.traceback)
                break
            if a.status.value == ActionStatus.FAILURE:
                status = ActionStatus(ActionStatus.FAILURE, "Action(s) failed!")
        return status