For example:
from luqum.parser import parser
parser.parse("hello^foo")
# TypeError: conversion from NoneType to Decimal is not supported
I would expect to get a ParseError or some other type of luqum error that I can catch when parsing a user-entered query