assert.throwsError(block, type, message)