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

feat: update error databases #6575

Merged
merged 1 commit into from
Apr 10, 2025
Merged

feat: update error databases #6575

merged 1 commit into from
Apr 10, 2025

Conversation

stdlib-bot
Copy link
Contributor

@stdlib-bot stdlib-bot commented Apr 6, 2025

This PR

  • updates the error databases

The following error codes were added:

Code Error Message Type
Hh invalid argument. Second argument must be broadcast-compatible with the non-reduced dimensions of the input array. Error
Hi invalid argument. Second argument cannot be safely cast to the input array data type. Value: %s. TypeError
Hj invalid argument. Third argument must be an ndarray-like object. Value: %s. TypeError
Hk invalid option. %s option must be an array of integers. Option: %s. TypeError
Hl invalid option. %s option contains an out-of-bounds dimension index. Option: [%s]. RangeError
Hm invalid option. %s option specifies more dimensions than exists in the input array. Number of dimensions: %d. Option: [%s]. RangeError
Hn invalid argument. Number of specified dimensions cannot exceed the number of dimensions in the input array. Number of dimensions: %d. Value: [%s]. RangeError
Ho invalid argument. Arrays which are not being reduced must have the same number of non-reduced dimensions. Input array shape: [%s]. Number of non-reduced dimensions: %d. Array shape: [%s] (index: %d). Error
Hp invalid argument. Second argument must be an ndarray-like object. Value: %s. TypeError

@stdlib-bot stdlib-bot added automated-pr Automated pull request (e.g., from a bot). Documentation Improvements, additions, or changes to documentation. labels Apr 6, 2025
@stdlib-bot stdlib-bot requested a review from a team April 6, 2025 00:26
@stdlib-bot
Copy link
Contributor Author

stdlib-bot commented Apr 6, 2025

Coverage Report

Package Statements Branches Functions Lines
error/tools/database 85 / 85
+ 100.00 %
3 / 3
+ 100.00 %
1 / 1
+ 100.00 %
85 / 85
+ 100.00 %
error/tools/id2pkg 95 / 95
+ 100.00 %
7 / 7
+ 100.00 %
1 / 1
+ 100.00 %
95 / 95
+ 100.00 %
error/tools/pkg2id 95 / 95
+ 100.00 %
7 / 7
+ 100.00 %
1 / 1
+ 100.00 %
95 / 95
+ 100.00 %

The above coverage report was generated for the changes in this PR.

Copy link
Member

@Planeshifter Planeshifter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kgryte Shouldn't it be

"invalid option. %s option must be an array of integers. Option: %s."

instead of

"invalid options. %s option must be an array of integers. Option: %s."?

Signed-off-by: stdlib-bot <[email protected]>
@stdlib-bot stdlib-bot force-pushed the update-error-databases branch from f107fba to 89d5928 Compare April 10, 2025 00:49
@stdlib-bot stdlib-bot requested a review from a team April 10, 2025 00:49
@kgryte
Copy link
Member

kgryte commented Apr 10, 2025

@Planeshifter Thanks for catching. Fixed.

@kgryte kgryte merged commit 9bcc503 into develop Apr 10, 2025
18 checks passed
@kgryte kgryte deleted the update-error-databases branch April 10, 2025 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated-pr Automated pull request (e.g., from a bot). Documentation Improvements, additions, or changes to documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants