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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions lib/node_modules/@stdlib/error/tools/database/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1144,3 +1144,43 @@
"IR","invalid argument. Fifth argument must be greater than or equal to max(1,%d). Value: `%d`.","RangeError"
"IS","invalid argument. Second argument must have an integer data type. Value: `%s`.","TypeError"
"IT","invalid argument. Second argument must be an integer or an ndarray-like object. Value: `%s`.","TypeError"
"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"

Large diffs are not rendered by default.

Loading