Skip to content

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

@cdrini

Description

@cdrini

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions