You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.
Some time later I want to remove the (IMO usually unhelpful) error and return undefined instead. Per Level/community#76.
@ronag For the short term, I'd say pull requests to make this behavior opt-in are welcome, but it does depend on which modules you're using. You'll also have to touch any implementation of abstract-leveldown that you're using, because levelup merely wraps the errors. If this involves too many modules, I'm reluctant to accept PRs, because I want to wind down the maintenance of these, in favor of abstract-level.
Creating an Error for "NotFound" instead of just returning
null
has a significant performance overhead. Creating Error objects are expensive.Could we have a mode flag where we can avoid this?
The text was updated successfully, but these errors were encountered: