Skip to content

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 $\color{green}85/85$
$\color{green}+100.00\%$
$\color{green}3/3$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}85/85$
$\color{green}+100.00\%$
error/tools/id2pkg $\color{green}95/95$
$\color{green}+100.00\%$
$\color{green}7/7$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}95/95$
$\color{green}+100.00\%$
error/tools/pkg2id $\color{green}95/95$
$\color{green}+100.00\%$
$\color{green}7/7$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}95/95$
$\color{green}+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."?

@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.

3 participants