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. this is not a floating-point array. TypeError
Js invalid invocation. this is not a floating-point number array. TypeError
Jt invalid invocation. Must provide at least three arguments. Error
Ju 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
Jv %s %s failed with exit code: %s. Error
Jw %s %s failed due to termination signal: %s. Error
Jx invalid argument. First argument must have one of the following data types: ""%s"". Value: %s. TypeError
Jy invalid argument. Second argument must be a floating-point number. Value: %s. TypeError
Jz invalid argument. Third argument must be an array of nonnegative integers. Value: %s. TypeError
K0 invalid argument. Third argument must be an array of integers. Value: %s. TypeError
K1 invalid option. %s option must be an array of nonnegative integers. Option: %s. TypeError
K2 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
K3 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
K4 invalid argument. Must provide a complex-valued floating-point ndarray. Value: %s. TypeError
K5 invalid argument. Must provide exactly two dimension indices. Value: [%s]. RangeError
K6 invalid argument. First argument must be an ndarray having at least two dimensions. Number of dimensions: %d. RangeError
K7 invalid argument. First argument must be an ndarray having two or more dimensions. Number of dimensions: %d. RangeError
K8 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
K9 invalid argument. The first argument cannot be safely cast to the output array data type. Data type: %s. Value: %s. TypeError
KA invalid argument. Specified dimension index is out-of-bounds. Must be on the interval: [-%u, %u]. Value: %d. RangeError
KB invalid argument. First argument must contain one or more ndarrays. Value: %s. RangeError
KC invalid argument. Second argument must be a two-dimensional ndarray. Number of dimensions: %u. RangeError
KD invalid argument. First argument must be an array-like object containing one or more ndarrays. Value: %s. TypeError
KE invalid argument. Must provide one- or two-dimensional ndarrays. Number of dimensions: %u. RangeError
KF invalid argument. All ndarrays must have the same number of rows. Expected number of rows: %u. Actual number of rows: %u. Error
KG invalid option. %s option must be a negative integer. Option: %s. TypeError
KH invalid argument. Second argument must be a string or an array of strings. Value: %s. TypeError
KI invalid option. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: %d. RangeError
KJ invalid argument. All ndarrays must have the same number of columns. Expected number of columns: %u. Actual number of columns: %u. Error
KK invalid argument. Fourth argument must be an ndarray-like object. Value: %s. TypeError
KL invalid argument. Second argument must be a zero-dimensional ndarray. TypeError
KM invalid argument. Second argument cannot be safely cast to the desired output data type. Output data type: %s. Argument data type: %s. TypeError
KN invalid argument. Fifth argument must be a valid stride. Value: %d. RangeError
KO invalid argument. Second argument must be either an ndarray-like object, a numeric value, or a supported string. Value: %s. TypeError
KP invalid option. %s option must be a zero-dimensional ndarray. TypeError
KQ 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
@stdlib-bot stdlib-bot force-pushed the update-error-databases branch from 261ad4c to f52046e Compare April 26, 2026 00:47
@stdlib-bot stdlib-bot force-pushed the update-error-databases branch from f52046e to 1c84b72 Compare May 3, 2026 00:52
Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
@stdlib-bot stdlib-bot force-pushed the update-error-databases branch from 1c84b72 to 70cbd9f Compare May 10, 2026 00:54
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