Under the hood
Useful1 Signal0
Not-found errors internally track what kind of thing was missing.
What's wrong with this entry?
Anonymous. No account, no email.
What
The memory/document NotFoundError distinguishes what kind of thing was missing.
Details
- Constructor gained a second parameter stored as
kind, defaulting to"document". - The error message and name are unchanged.
Evidence
this.name = "NotFoundError"
Strings lifted out of the shipped bundle, so the claim above can be checked against them.