Have more user friendly messages upon incorrect types in query DSLs

Description

Currently, we cascade the exception if the user provides a parameter value of the wrong type in the DSL. We could wrap in an exception that provides a hint about what's going on.

See for an example.

Environment

None

Assignee

Yoann Rodière

Reporter

Emmanuel Bernard

Labels

None

Suitable for new contributors

Yes, likely

Pull Request

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Major
Configure