Cannot find a way to catch Error: Another hypercore is stored here error
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 748
- Forks
- 56
- PR merge metrics
- No merged PRs in 30d
Description
When creating a new database, if you erroneously try to create a new database over an existing one, you get `Error: Another hypercore is stored here`. However, I can find no way of catching this error so that I can handle it gracefully when using hyperdb.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by reproducing the error while creating a new database over an existing one through hyperdb. Trace how the “Another hypercore is stored here” error is surfaced and determine what observable behavior would let callers catch it and handle the conflict gracefully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100