Checking for the  correct error condition