Right now the parser can only:
- Report a single error at a time
- And it does so by throwing an AFPException
Two things that can be improved:
- Report more than one error at the same time (not sure if this is always possible, given the current validation and filter syntax)
- Report non-fatal errors; these would likely only be shown while validating the filter client-side (T187686)