I know internal/errors usage is picking up in Node core so I thought I'd give a heads up on something I've seen in the wild. It looks like folks are adding error.code properties which will error with the internal/errors since error.code is readonly.
Is being readonly intentional?
I know internal/errors usage is picking up in Node core so I thought I'd give a heads up on something I've seen in the wild. It looks like folks are adding
error.codeproperties which will error with theinternal/errorssinceerror.codeis readonly.Is being readonly intentional?