Project an arbitrary thrown value to the canonical SerializedError shape.
Accepts both Error instances and non-Error throwables (strings, plain
objects, etc.). Non-Error throwables get name: "NonErrorThrowable" and
the best textual representation we can produce.
Project an arbitrary thrown value to the canonical SerializedError shape. Accepts both
Errorinstances and non-Error throwables (strings, plain objects, etc.). Non-Error throwables getname: "NonErrorThrowable"and the best textual representation we can produce.