- throwA
void throwA(Should should, string msgTest, Fence _, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
- throwA
auto throwA(Should should, Fence _, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
The word .throwA (or .throwAn) expects its left-hand side expression to throw an exception. Instead of the cumbersome .where.msg.should.equal("msg"), the msg of the Exception to expect can be passed directly.