# `Gherkin.ParseError`
[🔗](https://github.com/huddlz-hq/cucumber/blob/main/lib/gherkin/parser.ex#L880)

Exception raised when parsing a Gherkin file fails.

Contains detailed information about the parse error including
line number, column, and context. `file` is the feature file's path when
the source was parsed with `Gherkin.Parser.parse/2`, and `nil` otherwise.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
