Skip to content
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

feat: update error databases #1081

Merged
merged 1 commit into from
Aug 11, 2023
Merged

feat: update error databases #1081

merged 1 commit into from
Aug 11, 2023

Conversation

stdlib-bot
Copy link
Contributor

@stdlib-bot stdlib-bot commented Aug 11, 2023

This PR

  • updates the error databases

The following error codes were added:

Code Error Message Type
Cv invalid argument. First argument must be a list of file paths. Value: %s. TypeError
Cw invalid arguments. Subpopulation size must be less than or equal to the population size. RangeError
Cx invalid arguments. Number of draws must be less than or equal to the population size. RangeError
Cy invalid arguments. Fourth argument is not compatible with the number of input and output ndarrays. Error
Cz invalid arguments. Input buffer is incompatible with the specified meta data. Ensure that the offset is valid with regard to the strides array and that the buffer has enough elements to satisfy the desired array shape. Error
D0 invalid arguments. Length of the first argument is incompatible with the second and third arguments. RangeError
D1 invalid argument. Provided collections must have the same length. RangeError
D2 invalid argument. First argument must be an array-like object containing nonnegative integers. TypeError
D3 invalid arguments. Input arrays must have the same length. RangeError
D4 invalid argument. Must provide valid indices (i.e., must be a nonnegative integer less than or equal to the tuple length). Error
D5 not implemented. Please post an issue on the @stdlib/stdlib issue tracker if you would like this to be implemented. https://github.com/stdlib-js/stdlib/issues/new/choose Error
D6 invalid operation. Parser is unable to parse new chunks, as the parser has been closed. To parse new chunks, create a new parser instance. Error
D7 invalid operation. Parser is in an unrecoverable error state. To parse new chunks, create a new parser instance. Error
D8 invalid argument. First argument must be a one-dimensional ndarray containing double-precision floating-point numbers (i.e., an ndarray whose underlying data buffer is a Float64Array). Value: %s. TypeError
D9 invalid argument. Second argument must be a one-dimensional ndarray containing double-precision floating-point numbers (i.e., an ndarray whose underlying data buffer is a Float64Array). Value: %s. TypeError
DA invalid argument. First argument must be a one-dimensional ndarray containing single-precision floating-point numbers (i.e., an ndarray whose underlying data buffer is a Float32Array). Value: %s. TypeError
DB invalid argument. Second argument must be a one-dimensional ndarray containing single-precision floating-point numbers (i.e., an ndarray whose underlying data buffer is a Float32Array). Value: %s. TypeError
DC invalid assignment. %s size is less than the number of data elements. Number of elements: %u. Value: %u. RangeError
DD invalid assignment. %s must be a string or an array of strings. Value: %s. TypeError
DE invalid assignment. %s must be a number or an array of numbers. Value: %s. TypeError
DF invalid assignment. %s must be a nonnegative integer or an array of nonnegative integers. Value: %s. TypeError
DG invalid assignment. %s must be a finite number, Date, or null. Value: %s. TypeError
DH invalid assignment. %s must be a boolean or an array of booleans. Value: %s. TypeError
DI invalid assignment. %s must be a number or null. Value: %s. TypeError
DJ invalid assignment. %s must be an array of strings or an empty array. Value: %s. TypeError
DK invalid state. x and y are different lengths. x length: %u. y length: %u. Error
DL invalid state. Each x[i]:y[i] pair must be the same length. x[%u].length: %u, y[%u].length: %u. Error
DM invalid assignment. %s must be a number on the interval: [0, 1]. Value: %f. RangeError
DN invalid assignment. %s must be null or an array. Value: %s. TypeError
DO invalid arguments. Must provide equal length array-like objects. x length: %u. y length: %u. Error
DP invalid argument. The number of comparisons must be greater or equal to the number of p-values to be adjusted. Value: %u. RangeError
DQ invalid argument. Second argument must be one of the following: ""%s"". Value: %s. Error
DR invalid option. %s option must be a number on the interval: [0, 1]. Option: %s. TypeError
DS invalid argument. First argument must contain nonnegative integers. Indices: (%s). Value: %s. TypeError
DT invalid argument. First argument must be an array of arrays or a two-dimensional ndarray-like object. Number of input array dimensions: %u. TypeError
DU invalid argument. First argument must be an array of arrays or a two-dimensional ndarray-like object. Value: %s. TypeError
DV invalid arguments. Minimum support must be less than maximum support. Value: (%f, %f). RangeError
DW invalid arguments. Minimum support must be less than or equal to maximum support. Value: (%d, %d). RangeError
DX invalid argument. Mean parameter must be a positive number. Value: %s. TypeError
DY invalid argument. Mean parameter must be a probability. Value: %s. TypeError
DZ invalid option. %s option must be on the interval: [0, 1]. Option: %f. RangeError
Da invalid argument. Must provide a nonnegative number on the interval: [0, 1]. Value: %f. RangeError
Db invalid argument. First argument must either specify the order of the covariance matrix or be a square two-dimensional ndarray for storing the covariance matrix. Value: %s. TypeError
Dc invalid argument. Second argument must be a one-dimensional ndarray. Value: %s. TypeError
Dd invalid argument. Must provide a one-dimensional ndarray. Value: %s. TypeError
De invalid argument. First argument must either specify the order of the correlation distance matrix or be a square two-dimensional ndarray for storing the correlation distance matrix. Value: %s. TypeError
Df invalid argument. First argument must either specify the order of the correlation matrix or be a square two-dimensional ndarray for storing the correlation matrix. Value: %s. TypeError
Dg invalid argument. Input array must be an array-like object. Value: %s. TypeError
Dh invalid argument. Output array must be an array-like object. Value: %s. TypeError
Di invalid argument. Mask array offset must be a nonnegative integer. Value: %s. TypeError
Dj invalid argument. Must provide recognized data types. Unable to resolve a data type string. Value: %s. TypeError
Dk invalid option. %s option must be one of the following: ['%s']. Option: %s. TypeError
Dl invalid argument. Database already contains an entry for the provided URI. Value: %s. Error
Dm invalid argument. Database already contains an entry for the provided id. Value: %s. Error
Dn invalid argument. First argument must be an array of objects. Value: %s. TypeError
Do unexpected error. File does not exist. Unable to resolve file: %s. Error
Dp invalid argument. First argument must be either a string or an array of strings. Value: %s. TypeError
Dq invalid argument. First argument must be either a string or an array of strings. Value: %s. Index: %u. TypeError
Dr invalid argument. Must provide either an options object or a function. Value: %s. TypeError
Ds invalid option. %s option must be a nonnegative integer or an array of nonnegative integers. Option: %s. TypeError
Dt invalid argument. Fourth argument must contain a single element equal to 0. Value: %d. RangeError
Du invalid argument. Indices must be integer valued. Argument: %i. Value: %s. TypeError
Dv invalid argument. Must provide an ndarray. Value: %s. TypeError
Dw invalid argument. Second argument must be a supported data type policy. Value: %s. TypeError
Dx invalid argument. Must provide either an integer or a Date object. Value: %s. TypeError
Dy invalid argument. Must provide a valid duration string. Value: %s. TypeError
Dz invalid argument. Day number must be on the interval: [1, %u]. Value: %d. RangeError
E0 invalid argument. First argument must be a string or integer. Value: %s. TypeError
E1 invalid option. %s option must be one of the following: ""%s"". Value: %s. TypeError
E2 invalid argument. Third argument must be either an integer (starting index) or a function. Value: %s. TypeError
E3 invalid argument. Fourth argument must be either an integer (ending index) or a function. Value: %s. TypeError
E4 invalid argument. Second argument must be a valid position (i.e., be within string bounds). Value: %d. RangeError
E5 invalid argument. Must provide a valid code point (i.e., cannot exceed %u). Value: %s. RangeError
E6 invalid argument. First argument must be astring. Value: %s. TypeError
E7 invalid argument. Second argument must be either an integer (starting index) or a function. Value: %s. TypeError
E8 invalid argument. Third argument must be either an integer (ending index) or a function. Value: %s. TypeError
E9 invalid argument. ArrayBuffer byte length must be a multiple of %u. Byte length: %u. RangeError
EA invalid argument. Byte offset must be a multiple of %u. Value: %u. RangeError
EB invalid argument. First argument must have a length which is a multiple of %u. Length: %u. RangeError
EC invalid argument. Second argument must be a supported data type. Value: %s. TypeError
ED invalid argument. First argument must be one of the following data types: ""%s"". Value: %s. TypeError
EE invalid argument. Second argument must be either an integer (starting view index) or a function. Value: %s. TypeError
EF invalid argument. Third argument must be either an integer (ending view index) or a function. Value: %s. TypeError
EG invalid option. size option must be less than or equal to the length of x when replace is false. Option: %s. RangeError
EH invalid option. size option must be less than or equal to the population size when replace is false. Option: %s. RangeError
EI invalid argument. Second argument must be either a scalar or an ndarray-like object. Value: %s. TypeError
EJ invalid argument. Minimum support must be less than maximum support. Value: [%f, %f]. RangeError
EK invalid argument. Minimum support must be less than or equal to maximum support. Value: [%d, %d]. RangeError
EL invalid %s. state array has an incompatible schema version. Expected: %s. Actual: %s. RangeError
EM invalid %s. state array has an incompatible number of sections. Expected: %s. Actual: %s. RangeError
EN invalid argument. Number of draws must be less than or equal to the population size. Value: %u. RangeError
EO invalid argument. Subpopulation size must be less than or equal to the population size. Value: %u. RangeError
EP invalid argument. Must provide a regular expression. Value: %s. TypeError
EQ invalid argument. Second argument must be an object containing property descriptors. Value: %s. TypeError
ER invalid argument. Must provide an object (except null). Value: %s. TypeError
ES invalid argument. First argument must be an object (except null). Value: %s. TypeError
ET unexpected error. Encountered an invalid record. Field %d on line %d contains a closing quote which is not immediately followed by a delimiter or newline. Error
EU unexpected error. Encountered an invalid record. Field %d on line %d contains an opening quote which does not immediately follow a delimiter or newline. Error
EV unexpected error. Encountered an invalid record. Field %d on line %d contains an escape sequence which is not immediately followed by a special character sequence. Error
EW unexpected error. Encountered an invalid record. Field %d on line %d contains an escape sequence within a quoted field which is not immediately followed by a quote sequence. Error
EX invalid argument. First argument must be a function having at least one parameter. Value: %s. TypeError
EY invalid argument. All arguments must be objects. Index: %u. Value: %s. TypeError
EZ invalid argument. First argument must be a non-null object. Value: %s. TypeError
Ea invalid argument. First argument must be an ndarray whose last dimension is of size %u. Actual size: %u. TypeError
Eb invalid argument. Attempting to scale a weight vector by a nonpositive value. This is likely due to too large a value of eta * lambda. Value: %f. RangeError
Ec invalid argument. Output argument must be a one-dimensional ndarray. Value: %s. TypeError
Ed invalid argument. Must provide a two-dimensional ndarray. Value: %s. TypeError
Ee invalid argument. Number of matrix columns must match centroid dimensions. Expected: %u. Actual: %u. Error

@stdlib-bot stdlib-bot added automated-pr Automated pull request (e.g., from a bot). Documentation Improvements, additions, or changes to documentation. labels Aug 11, 2023
@stdlib-bot stdlib-bot requested a review from a team August 11, 2023 18:59
@stdlib-js stdlib-js deleted a comment from stdlib-bot Aug 11, 2023
@stdlib-js stdlib-js deleted a comment from stdlib-bot Aug 11, 2023
@stdlib-js stdlib-js deleted a comment from stdlib-bot Aug 11, 2023
@stdlib-bot stdlib-bot changed the title Update error databases feat: update error databases Aug 11, 2023
@stdlib-js stdlib-js deleted a comment from stdlib-bot Aug 11, 2023
@stdlib-js stdlib-js deleted a comment from stdlib-bot Aug 11, 2023
@stdlib-bot
Copy link
Contributor Author

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\%$

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

@Planeshifter Planeshifter merged commit 93c16b7 into develop Aug 11, 2023
5 of 7 checks passed
@kgryte
Copy link
Member

kgryte commented Aug 12, 2023

A few notes based on the above table:

  • Looks like in error DT we may be missing backticks.
  • Error E6 has a typo.
  • EG and EH use an outdated Option: %s copy. I believe this should be Value: %s.

@kgryte kgryte deleted the update-error-databases branch August 12, 2023 16:46
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