The statusCodes and errors don't mean anything while in use. err.toJSON() for example always returns an object with a status property that is always undefined.
I will create a PR with some changes for this when I have a chance, for now just putting this here so I remember.
The statusCodes and errors don't mean anything while in use.
err.toJSON()
for example always returns an object with astatus
property that is alwaysundefined
.I will create a PR with some changes for this when I have a chance, for now just putting this here so I remember.