call $ERROR if expected exception not thrown
fix Epected => Expected typo