Changes

Added the error checker.
== Summary ==
Added the error checker.