Ensure that a cause is an error object.
We consider anything with a "message" property to be a reasonable error object.
Ensure that a cause is an error object.
We consider anything with a "message" property to be a reasonable error object.