Added missing import for TankError