def error(self, code=500):
        def wrapper(handler):
            self.error_handler[int(code)] = handler
            return handler
        return wrapper
Get the current boot device for the task's node.
dataset/ETHPy150Open adampresley/bottlepy-bootstrap/app/bottle.py/Bottle.error--crossover with--dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/seamicro.py/Management.get_boot_device