Throwable.chainTogether

Append e2 to chain of exceptions that starts with e1.

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

Parameters

e1
Type: Throwable

start of chain (can be null)

e2
Type: Throwable

second part of chain (can be null)

Return Value

Type: Throwable

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

Suggestion Box / Bug Report