The OpenD Programming Language

Throwable.chainTogether

Append e2 to chain of exceptions that starts with e1.

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

Parameters

e1 Throwable

start of chain (can be null)

e2 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

Meta