Return out of script early in error condition.