Create custom Error subclasses
@ilyamore88 is already working on this.
Since Aug 29, 2023.
Assessment
This issue has not been assessed yet.
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
- Dominant language
- TypeScript
- Stars
- 12
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from editor-js/document-model
-
editor-js/document-model#176 · 1 reaction · 2 assignees ·
-
BlocksUI doesn't remove its blocksHolder DOM event listeners (or the holder itself) on destroy() Opengood first issue
Difficulty 4/5 3-5 days Newbie friendliness 58/100
editor-js/document-model#170 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
editor-js/document-model#167 ·
-
Index refactoring Opengood first issue
Difficulty 5/5 Over a week Newbie friendliness 38/100
editor-js/document-model#154 ·
-
Block Tunes Open
editor-js/document-model#150 · 1 comment · 1 assignee ·
All issues in editor-js/document-model
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·