throwAn

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.

  1. template throwA(T : Throwable)
  2. alias throwAn = throwA
    alias throwAn = throwA

Meta