Hey! We're working with some folks who want to bring seamless-immutable into their stack, and as part of setting things up we found that Error objects come out the other side of Immutable() as empty objects. Error properties are exposed as getters on the prototype so the standard method of copying objects doesn't work out.
Hey! We're working with some folks who want to bring seamless-immutable into their stack, and as part of setting things up we found that Error objects come out the other side of
Immutable()
as empty objects. Error properties are exposed as getters on the prototype so the standard method of copying objects doesn't work out.Thanks Richard!