Err cmplx format

You don't have to continue raise error here directly, use function you extract from below.