shouldThrowWithMessage

Assert that expr throws and the exception message is msg.

void
shouldThrowWithMessage
(
T : Throwable = Exception
E
)
(
lazy E expr
,
string msg
,
string file = __FILE__
,
size_t line = __LINE__
)
in (msg != "")

Meta