shouldThrowExactly

Assert that expr throws an Exception that must have the type E, derived types won't do.

void
shouldThrowExactly
(
T : Throwable = Exception
E
)
(
lazy E expr
,
in string file = __FILE__
,
in size_t line = __LINE__
)

Meta