Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-decimal boost throws TypeError instead of ParseError (eg "hello^foo") #87

Open
cdrini opened this issue Nov 30, 2022 · 0 comments
Open

Comments

@cdrini
Copy link

cdrini commented Nov 30, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant