import TankError

_on_create_new_task uses this module to raise the exceptions