[Power] Checked power TypeMismatchError and modified exceptions.
Merge pull request #400 from junwang1216/next

[Power] Checked power "TypeMismatchError" and modified exceptions.