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

Better error message for invalid input #288

Open
benmccann opened this issue Oct 11, 2024 · 0 comments
Open

Better error message for invalid input #288

benmccann opened this issue Oct 11, 2024 · 0 comments

Comments

@benmccann
Copy link
Contributor

If you pass -1 as the start to update the error you get is:

throw new Error('Cannot overwrite across a split point');

It'd be nice to do some validation and throw a nicer error or include indices in the existing error message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant