<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def state(self):
 """ Return a small description of the current status of the domain Returns: str: small description of the domain status, 'down' if it's not found at all. """

        try:
            return libvirt_utils.Domain.resolve_state(self.raw_state())
        except vm_plugin.LagoVMDoesNotExistError:
            return 'down'
        except vm_plugin.LagoFailedToGetVMStateError:
            return 'failed to get state'
        except KeyError:
            return 'unknown state'