Skip to content

Conversation

stdlib-bot
Copy link
Contributor

This PR

  • updates the error databases

The following error codes were added:

Code Error Message Type
Ha invalid arguments. Arrays must have the same number of dimensions (i.e., same rank). ndims(x) == %d. ndims(y) == %d. Error
Hb invalid argument. Third argument contains an out-of-bounds dimension index. Value: [%s]. RangeError
Hc invalid argument. Third argument must contain a list of unique dimension indices. Value: [%s]. Error
Hd invalid argument. Number of specified dimensions cannot exceed the number of dimensions in the input array. ndims(x) == %d. Value: [%s]. RangeError
He invalid argument. Arrays which are not being reduced must have the same number of non-reduced dimensions. ndims(x) == %d. Number of reduced dimensions: %d. ndims(arrays[%d]) == %d. Error
Hf invalid argument. Non-reduced dimensions must be consistent across all provided arrays. Input array shape: [%s]. Non-reduced dimension indices: [%s]. Non-reduced dimensions: [%s]. Array shape: [%s] (index: %d). Error
Hg invalid argument. The second argument cannot be safely cast to the input array data type. Data type: %s. 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 Mar 30, 2025
@stdlib-bot stdlib-bot requested a review from a team March 30, 2025 00:43
@stdlib-bot
Copy link
Contributor Author

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.

@Planeshifter Planeshifter added the Ready To Merge A pull request which is ready to be merged. label Mar 30, 2025
@stdlib-bot
Copy link
Contributor Author

PR Commit Message

feat: update error databases

PR-URL: https://github.com/stdlib-js/stdlib/pull/6448

Co-authored-by: Philipp Burckhardt <[email protected]>
Reviewed-by: Athan Reines <[email protected]>
Signed-off-by: stdlib-bot <[email protected]>

Please review the above commit message and make any necessary adjustments.

@Planeshifter Planeshifter merged commit 9002aa4 into develop Mar 30, 2025
66 checks passed
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. Ready To Merge A pull request which is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants