Add common type conversion error method.
Use error helper and clean up.