Represents an error that was caused by another error.
Create an instance of ErrorWithCause.
Original error, causing this error.
Optional override for formatting stack traces
Root cause of the error. If there are multiple errors caused one by another, the root cause is the first error that occurred. In case there is no root cause.
Create .stack property on a target object