Raise correct error if #parse! is called with an invalid sentence.