editor-js / editor-js/document-model
Create custom Error subclasses
Open
- Dominant language
- TypeScript
- Stars
- 12
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Currently we have the following errors thrown
I suggest to create some high-level error classes like `RangeError`, `NodeError`, etc and then create subclasses from them like `IndexOutOfBoundsError`, `InvalidRangeError`, `MergeNodeError`, etc
Contributor guide
Assessment
This issue has not been assessed yet.