Throwable.chainTogether

Throwable chainTogether(return scope Throwable e1, return scope Throwable e2) @__future @system @nogc pure nothrow

Append e2 to chain of exceptions that starts with e1.

Parameters

e1start of chain (can be null)
e2second part of chain (can be null)

Returns

Throwable that is at the start of the chain; null if both e1 and e2 are null