tryMatch.tryMatch

The actual tryMatch function.

template tryMatch(handlers...)
version(D_Exceptions)
tryMatch
(
Self
)
(
auto ref Self self
)
if (
is(Self : SumType!TypeArgs,
TypeArgs...
)
)

Parameters

self Self

A SumType object

Meta