Add error handling on UnitObject.power()