vi.toThrowError