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

better error message for "sum", "product", and "sum_of_squares" #14711

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

fdncred
Copy link
Collaborator

@fdncred fdncred commented Dec 31, 2024

Description

This PR tries to improve a few error messages.

Before

image

After

image

 

User-Facing Changes

Tests + Formatting

After Submitting

@fdncred fdncred merged commit a0d4ae1 into nushell:main Dec 31, 2024
15 checks passed
@fdncred fdncred deleted the better_error_msg branch December 31, 2024 22:04
@github-actions github-actions bot added this to the v0.102.0 milestone Dec 31, 2024
@fdncred fdncred added unhelpful-error The error message you observe is not helpful to identify the problem error-handling How errors in externals/nu code are caught or handled programmatically (see also unhelpful-error) labels Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error-handling How errors in externals/nu code are caught or handled programmatically (see also unhelpful-error) unhelpful-error The error message you observe is not helpful to identify the problem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant