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

Include function name in SpelMessage.INCORRECT_NUMBER_OF_ARGUMENTS_TO_FUNCTION #32239

Closed
sbrannen opened this issue Feb 11, 2024 · 0 comments
Closed
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@sbrannen
Copy link
Member

Currently, SpelMessage.INCORRECT_NUMBER_OF_ARGUMENTS_TO_FUNCTION builds an error message that does not mention the offending function. Whereas, all other enum constants in SpelMessage relating to functions mention the function name.

To improve diagnostics for users, we should include the function name in INCORRECT_NUMBER_OF_ARGUMENTS_TO_FUNCTION.

@sbrannen sbrannen added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement labels Feb 11, 2024
@sbrannen sbrannen added this to the 6.1.4 milestone Feb 11, 2024
@sbrannen sbrannen self-assigned this Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant