Skip to content

feat: update error databases#11304

Open
stdlib-bot wants to merge 1 commit intodevelopfrom
update-error-databases
Open

feat: update error databases#11304
stdlib-bot wants to merge 1 commit intodevelopfrom
update-error-databases

Conversation

@stdlib-bot
Copy link
Copy Markdown
Contributor

@stdlib-bot stdlib-bot commented Apr 5, 2026

This PR

  • updates the error databases

The following error codes were added:

Code Error Message Type
Jr invalid invocation. Must provide at least three arguments. Error
Js invalid argument. First argument must contain at least one element greater than zero (i.e., the total number of observations must be greater than zero). Error
Jt %s %s failed with exit code: %s. Error
Ju %s %s failed due to termination signal: %s. Error
Jv invalid argument. First argument must have one of the following data types: ""%s"". Value: %s. TypeError
Jw invalid argument. Third argument must be an array of integers. Value: %s. TypeError
Jx invalid option. %s option must be an array of nonnegative integers. Option: %s. TypeError
Jy invalid argument. Second argument must have at least as many elements as the number of dimensions of the first argument. Number of input dimensions: %u. Number of repetitions: %u. RangeError
Jz invalid arguments. Arrays must have the same number of dimensions (i.e., same rank). ndims(x) == %d. ndims(y) == %d. ndims(z) == %d. ndims(w) == %d. Error
K0 invalid argument. Must provide exactly two dimension indices. Value: [%s]. RangeError
K1 invalid argument. Input ndarray must have at least two dimensions. Number of dimensions: %d. RangeError
K2 invalid argument. Product of the sizes must be equal to the size of the dimension to be unflattened. Dimension: %d. Size: %d. Value: [%s]. RangeError
K3 invalid argument. The first argument cannot be safely cast to the output array data type. Data type: %s. Value: %s. TypeError
K4 invalid argument. Specified dimension index is out-of-bounds. Must be on the interval: [-%u, %u]. Value: %d. RangeError
K5 invalid argument. First argument must contain one or more ndarrays. Value: %s. RangeError
K6 invalid argument. Second argument must be a two-dimensional ndarray. Number of dimensions: %u. RangeError
K7 invalid argument. First argument must be an array-like object containing one or more ndarrays. Value: %s. TypeError
K8 invalid argument. Must provide one- or two-dimensional ndarrays. Number of dimensions: %u. RangeError
K9 invalid argument. All ndarrays must have the same number of rows. Expected number of rows: %u. Actual number of rows: %u. Error
KA invalid option. %s option must be a negative integer. Option: %s. TypeError
KB invalid argument. Second argument must be a string or an array of strings. Value: %s. TypeError
KC invalid option. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: %d. RangeError
KD invalid argument. All ndarrays must have the same number of columns. Expected number of columns: %u. Actual number of columns: %u. Error
KE invalid argument. Fourth argument must be an ndarray-like object. Value: %s. TypeError
KF invalid argument. Second argument must be a zero-dimensional ndarray. TypeError
KG invalid argument. Second argument must be either an ndarray-like object, a numeric value, or a supported string. Value: %s. TypeError
KH invalid option. %s option must be a zero-dimensional ndarray. TypeError
KI invalid argument. Second argument must be either an ndarray or an integer. 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 5, 2026
@stdlib-bot stdlib-bot requested a review from a team April 5, 2026 00:42
@stdlib-bot
Copy link
Copy Markdown
Contributor Author

stdlib-bot commented Apr 5, 2026

Coverage Report

Package Statements Branches Functions Lines
error/tools/database $\color{green}85/85$
$\color{green}+0.00%$
$\color{green}3/3$
$\color{green}+0.00%$
$\color{green}1/1$
$\color{green}+0.00%$
$\color{green}85/85$
$\color{green}+0.00%$
error/tools/id2pkg $\color{green}95/95$
$\color{green}+0.00%$
$\color{green}7/7$
$\color{green}+0.00%$
$\color{green}1/1$
$\color{green}+0.00%$
$\color{green}95/95$
$\color{green}+0.00%$
error/tools/pkg2id $\color{green}95/95$
$\color{green}+0.00%$
$\color{green}7/7$
$\color{green}+0.00%$
$\color{green}1/1$
$\color{green}+0.00%$
$\color{green}95/95$
$\color{green}+0.00%$

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

@github-actions github-actions Bot mentioned this pull request Apr 5, 2026
@kgryte kgryte added the status: Blocked Issue or pull request which is currently blocked. label Apr 5, 2026
@stdlib-bot stdlib-bot force-pushed the update-error-databases branch from bb7faae to 224846e Compare April 12, 2026 00:44
@stdlib-bot stdlib-bot force-pushed the update-error-databases branch from 224846e to 261ad4c Compare April 19, 2026 00:46
Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
@stdlib-bot stdlib-bot force-pushed the update-error-databases branch from 261ad4c to f52046e Compare April 26, 2026 00:47
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. status: Blocked Issue or pull request which is currently blocked.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants