Checking for case sensitive error