Skip to content

feat: update error databases - #15022

Open
stdlib-bot wants to merge 2 commits into
developfrom
update-error-databases
Open

stdlib-bot wants to merge 2 commits into
developfrom
update-error-databases

Conversation

@stdlib-bot

@stdlib-bot stdlib-bot commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

This PR

  • updates the error databases

The following error codes were added:

Code Error Message Type
L0 internal error. Attempted to emit the same semantic contribution twice. Error
L1 internal error. Unable to allocate a unique notebook cell ID. Error
L2 invalid argument. First argument must be a semantic document object having a supported schema and profile version. TypeError
L3 invalid argument. First argument must be a semantic document object having a supported schema and reference integrity. TypeError
L4 invalid argument. In strict mode, a provided semantic document object must not contain error diagnostics. Error
L5 internal error. Generated notebook failed nbformat 4.5 validation. Error
L6 internal error. Notebook source splitting changed cell content. Error
L7 invalid option. moduleMap values must be objects. TypeError
L8 invalid option. moduleMap runtimes must be unique worker or iframe values. TypeError
L9 invalid option. moduleMap must be an object. TypeError
LA invalid option. moduleMap contains an invalid module specifier. TypeError
LB invalid option. excludeSectionRoles must be an array. TypeError
LC invalid option. excludeSectionRoles must contain non-empty strings. TypeError
LD invalid option. excludeSectionRoles must contain unique roles. TypeError
LE invalid argument. Options must be an object. TypeError
LF invalid option. includeProvenance must be a boolean. TypeError
LG invalid option. mode must be either strict or permissive. TypeError
LH invalid option. Unsupported JupyterLite target. TypeError
LI invalid option. unsupportedCode must be either error or markdown. TypeError
LJ invalid argument. Buffer must contain valid UTF-8 encoded Markdown. TypeError
LK invalid argument. Unable to convert Markdown to a semantic document without errors. Error
LL invalid argument. Value must be either a 64-bit unsigned integer or a value which can be converted to a 64-bit unsigned integer. Value: %s. TypeError
LM invalid argument. First argument must be either a length, an array-like object, or an iterable. Value: %s. TypeError
LN invalid argument. First argument must be either a shape, an integer, an array-like object, or an iterable. Value: %s. TypeError
LO invalid argument. Second argument must be an ArrayBuffer. Value: %s. TypeError
LP invalid node. Invalid table of contents (toc) comment. Ensure that the Markdown file includes both starting and ending toc comments. Node: %s. Error
LQ invalid option. %s must be greater than %s. %s: %u. %s: %u. RangeError
LR invalid argument. First argument must be a semantic document object. Value: %s. TypeError
LS invalid option. Unrecognized moduleMap record field: %s. TypeError
LT invalid option. moduleMap[%s].export must be either default or namespace. TypeError
LU invalid option. moduleMap[%s].mutable must be a boolean. TypeError
LV invalid option. moduleMap[%s].url must be an HTTPS or root-absolute same-origin URL. TypeError
LW invalid option. moduleMap[%s].runtimes must be a non-empty array. TypeError
LX invalid option. Unrecognized option: %s. TypeError
LY invalid argument. First argument must be either a string or a Buffer. Value: %s. TypeError
LZ invalid argument. Options argument must be a plain object. Value: %s. TypeError
La invalid argument. Must provide an integer on the interval [-2^63, 2^63-1]. Value: %s. TypeError
Lb invalid argument. Second argument cannot be safely cast to the input ndarray data type. Data types: [%s, %s]. TypeError
Lc invalid argument. Second argument cannot be safely cast to the input ndarray data type. Data type: %s. Value: %s. TypeError
Ld invalid argument. Sixth argument must be a function. Value: %s. TypeError

@stdlib-bot
stdlib-bot requested a review from a team September 6, 2026 00:42
@stdlib-bot stdlib-bot added automated-pr Automated pull request (e.g., from a bot). Documentation Improvements, additions, or changes to documentation. labels Sep 6, 2026
@stdlib-bot

stdlib-bot commented Sep 6, 2026 •

Copy link
Copy Markdown
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\\%$
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.

@kgryte kgryte added the status: Blocked Issue or pull request which is currently blocked. label Sep 6, 2026
@kgryte

kgryte commented Sep 6, 2026

Copy link
Copy Markdown
Member

I need to update some of the error messages above.

@kgryte
kgryte self-requested a review September 6, 2026 03:31
@stdlib-bot
stdlib-bot force-pushed the update-error-databases branch from ef626ee to 798b9b5 Compare September 13, 2026 00:42
Comment on lines +1305 to +1306
"L2","invalid argument. Options argument must be a plain object. Value: `%s`.","TypeError"
"L3","invalid argument. First argument must be either a string or a Buffer. Value: `%s`.","TypeError"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to update these error messages.

@stdlib-bot
stdlib-bot force-pushed the update-error-databases branch from 798b9b5 to c516c03 Compare September 20, 2026 00:42
@stdlib-bot
stdlib-bot requested a review from a team September 20, 2026 00:42
@stdlib-bot
stdlib-bot force-pushed the update-error-databases branch from c516c03 to 0639460 Compare September 27, 2026 00:44
@stdlib-bot
stdlib-bot force-pushed the update-error-databases branch 2 times, most recently from e0fb1e8 to 966f27d Compare October 11, 2026 00:45
@stdlib-bot
stdlib-bot force-pushed the update-error-databases branch 2 times, most recently from ee2a955 to ce57c84 Compare October 25, 2026 00:38
@stdlib-bot
stdlib-bot force-pushed the update-error-databases branch from ce57c84 to a3da1f8 Compare November 1, 2026 00:29
Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
@stdlib-bot
stdlib-bot force-pushed the update-error-databases branch from a3da1f8 to 6e48d8a Compare November 8, 2026 00:26
PR-URL: #16406
Reviewed-by: Athan Reines <kgryte@gmail.com>

This branch has not been deployed

No deployments
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