You're not using the `x` here. Either drop it or use `raise CannotConvertError(x)`