-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps upexp/noviceSomeone with a little familiarity can pick upSomeone with a little familiarity can pick upkind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)status/readyReady to be workedReady to be worked
Description
I am not 100% sure about this, but while working on integrating the js-ipfs-repo-migrations
I stumbled on a case where I have expected to ipfs-repo
throw an interface-datastore.errors.notFound
error when config.get()
won't find the required key.
I now that interface-datastore.errors
are related to datastores and this is only somehow related to it as ipfs-repo.config
creates an abstraction layer on top of it. But it would be good to have some easy and clean way how to test for not found errors other than err.message.match('does not exist')
.
Metadata
Metadata
Assignees
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps upexp/noviceSomeone with a little familiarity can pick upSomeone with a little familiarity can pick upkind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)status/readyReady to be workedReady to be worked