Skip to content

feat: update error databases #7441

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

Merged
merged 1 commit into from
Jun 22, 2025
Merged

feat: update error databases #7441

merged 1 commit into from
Jun 22, 2025

Conversation

stdlib-bot
Copy link
Contributor

This PR

  • updates the error databases

The following error codes were added:

Code Error Message Type
IU invalid argument. Union types may only be initialized by a single member. Error
IV invalid invocation. this is not a struct instance. Error
IW invalid operation. struct does not have any fields. Error
IX unexpected error. Unrecognized data type. Value: %s. Error
IY invalid assignment. Assigned value cannot be cast to the data type of %s. Data types: [%s, %s]. TypeError
IZ invalid argument. Field objects must have the following properties: ""%s"". Value: %s. TypeError
Ia invalid argument. Union types cannot contain nested union types. Value: %s. TypeError
Ib invalid argument. Union types can only contain one field with a default value. Value: %s. TypeError
Ic invalid argument. Union types must contain fields having the same byte length. Value: %s. RangeError
Id invalid argument. %s field must be a string. Value: %s. TypeError
Ie invalid argument. %s field must be a boolean. Value: %s. TypeError
If invalid argument. %s field must be a positive integer. Value: %s. TypeError
Ig invalid assignment. %s must be a struct instance. Value: %s. TypeError
Ih invalid assignment. Assigned value cannot be cast to the data type of %s. Value: %s. TypeError
Ii invalid assignment. %s must be a struct instance having the same byte length. RangeError
Ij invalid assignment. %s must be an array-like object. Value: %s. TypeError
Ik invalid assignment. %s must be an array-like object having length %u. RangeError
Il invalid argument. Byte length must be a nonnegative integer. Value: %s. TypeError
Im invalid argument. ArrayBuffer has insufficient capacity. Minimum capacity: %u. RangeError
In invalid argument. First argument must be a struct instance. Value: %s. TypeError
Io invalid argument. %s field must be one of the following: ""%s"". Value: %s. TypeError
Ip invalid argument. First argument must be an array of objects having unique field names. Value: %s. TypeError
Iq invalid argument. %s field must be a non-empty string. Value: %s. TypeError
Ir invalid argument. First argument must be an array of objects. Value: %s. Index: %d. TypeError
Is invalid argument. Union types must be an array of objects. Value: %s. Index: %d. TypeError
It invalid argument. Field name must be one of the following: ""%s"". Value: %s. TypeError
Iu invalid argument. %s field must be either a struct type or one of the following: ""%s"". Value: %s. TypeError
Iv invalid assignment. %s must be an array-like object containing struct instances having the same byte length. RangeError
Iw invalid argument. First argument must be one of the following: ""%s"". Value: %s. TypeError
Ix invalid argument. First argument must be an ArrayBuffer or a data object. Value: %s. TypeError
Iy invalid argument. First argument must be either a struct constructor or struct schema. Value: %s. TypeError
Iz invalid argument. Each element of a provided input array must be a valid object or a struct instance having the same layout as elements in the desired output array. TypeError
J0 invalid argument. Environment lacks Symbol.iterator support. First argument must be a length, ArrayBuffer, typed array, or array-like object. Value: %s. TypeError
J1 invalid argument. First argument must be a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: %s. TypeError
J2 invalid argument. Each element of a provided input iterable must be either a valid object or a struct instance having the same layout as elements in the desired output array. TypeError
J3 invalid argument. Second argument must be a multiple of %u. Value: %u. RangeError
J4 invalid argument. Second argument exceeds the bounds of the ArrayBuffer. Value: %s. RangeError
J5 invalid argument. ArrayBuffer view byte length must be a multiple of %u. View byte length: %u. RangeError
J6 invalid invocation. this is not a %s. TypeError
J7 invalid argument. Must provide either a valid object or a struct instance. Value: %s. TypeError

Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
@stdlib-bot stdlib-bot added automated-pr Automated pull request (e.g., from a bot). Documentation Improvements, additions, or changes to documentation. labels Jun 22, 2025
@stdlib-bot stdlib-bot requested a review from a team June 22, 2025 00:29
@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.

@kgryte kgryte merged commit 1c2c241 into develop Jun 22, 2025
66 checks passed
@kgryte kgryte deleted the update-error-databases branch June 22, 2025 04:14
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