Skip to content

Commit 1c2c241

Browse files
authored
feat: update error databases
PR-URL: #7441 Reviewed-by: Athan Reines <[email protected]>
1 parent 5438c01 commit 1c2c241

File tree

6 files changed

+403
-67
lines changed

6 files changed

+403
-67
lines changed

lib/node_modules/@stdlib/error/tools/database/data/data.csv

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,3 +1144,43 @@
11441144
"IR","invalid argument. Fifth argument must be greater than or equal to max(1,%d). Value: `%d`.","RangeError"
11451145
"IS","invalid argument. Second argument must have an integer data type. Value: `%s`.","TypeError"
11461146
"IT","invalid argument. Second argument must be an integer or an ndarray-like object. Value: `%s`.","TypeError"
1147+
"IU","invalid argument. Union types may only be initialized by a single member.","Error"
1148+
"IV","invalid invocation. `this` is not a struct instance.","Error"
1149+
"IW","invalid operation. struct does not have any fields.","Error"
1150+
"IX","unexpected error. Unrecognized data type. Value: `%s`.","Error"
1151+
"IY","invalid assignment. Assigned value cannot be cast to the data type of `%s`. Data types: [%s, %s].","TypeError"
1152+
"IZ","invalid argument. Field objects must have the following properties: ""%s"". Value: `%s`.","TypeError"
1153+
"Ia","invalid argument. Union types cannot contain nested union types. Value: `%s`.","TypeError"
1154+
"Ib","invalid argument. Union types can only contain one field with a default value. Value: `%s`.","TypeError"
1155+
"Ic","invalid argument. Union types must contain fields having the same byte length. Value: `%s`.","RangeError"
1156+
"Id","invalid argument. `%s` field must be a string. Value: `%s`.","TypeError"
1157+
"Ie","invalid argument. `%s` field must be a boolean. Value: `%s`.","TypeError"
1158+
"If","invalid argument. `%s` field must be a positive integer. Value: `%s`.","TypeError"
1159+
"Ig","invalid assignment. `%s` must be a `struct` instance. Value: `%s`.","TypeError"
1160+
"Ih","invalid assignment. Assigned value cannot be cast to the data type of `%s`. Value: `%s`.","TypeError"
1161+
"Ii","invalid assignment. `%s` must be a `struct` instance having the same byte length.","RangeError"
1162+
"Ij","invalid assignment. `%s` must be an array-like object. Value: `%s`.","TypeError"
1163+
"Ik","invalid assignment. `%s` must be an array-like object having length %u.","RangeError"
1164+
"Il","invalid argument. Byte length must be a nonnegative integer. Value: `%s`.","TypeError"
1165+
"Im","invalid argument. ArrayBuffer has insufficient capacity. Minimum capacity: `%u`.","RangeError"
1166+
"In","invalid argument. First argument must be a `struct` instance. Value: `%s`.","TypeError"
1167+
"Io","invalid argument. `%s` field must be one of the following: ""%s"". Value: `%s`.","TypeError"
1168+
"Ip","invalid argument. First argument must be an array of objects having unique field names. Value: `%s`.","TypeError"
1169+
"Iq","invalid argument. `%s` field must be a non-empty string. Value: `%s`.","TypeError"
1170+
"Ir","invalid argument. First argument must be an array of objects. Value: `%s`. Index: `%d`.","TypeError"
1171+
"Is","invalid argument. Union types must be an array of objects. Value: `%s`. Index: `%d`.","TypeError"
1172+
"It","invalid argument. Field name must be one of the following: ""%s"". Value: `%s`.","TypeError"
1173+
"Iu","invalid argument. `%s` field must be either a struct type or one of the following: ""%s"". Value: `%s`.","TypeError"
1174+
"Iv","invalid assignment. `%s` must be an array-like object containing `struct` instances having the same byte length.","RangeError"
1175+
"Iw","invalid argument. First argument must be one of the following: ""%s"". Value: `%s`.","TypeError"
1176+
"Ix","invalid argument. First argument must be an ArrayBuffer or a data object. Value: `%s`.","TypeError"
1177+
"Iy","invalid argument. First argument must be either a struct constructor or struct schema. Value: `%s`.","TypeError"
1178+
"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"
1179+
"J0","invalid argument. Environment lacks Symbol.iterator support. First argument must be a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.","TypeError"
1180+
"J1","invalid argument. First argument must be a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.","TypeError"
1181+
"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"
1182+
"J3","invalid argument. Second argument must be a multiple of %u. Value: `%u`.","RangeError"
1183+
"J4","invalid argument. Second argument exceeds the bounds of the ArrayBuffer. Value: `%s`.","RangeError"
1184+
"J5","invalid argument. ArrayBuffer view byte length must be a multiple of %u. View byte length: `%u`.","RangeError"
1185+
"J6","invalid invocation. `this` is not a %s.","TypeError"
1186+
"J7","invalid argument. Must provide either a valid object or a struct instance. Value: `%s`.","TypeError"

lib/node_modules/@stdlib/error/tools/database/data/data.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)