From 83c53013c85abee63812014cc2873eaba2b36a0c Mon Sep 17 00:00:00 2001
From: Christoph Groth <christoph.groth@cea.fr>
Date: Thu, 5 Mar 2015 14:50:56 +0100
Subject: [PATCH] whatsnew: mention clearer error messages

---
 doc/source/pre/whatsnew/1.1.rst | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/doc/source/pre/whatsnew/1.1.rst b/doc/source/pre/whatsnew/1.1.rst
index 12f8c505..703c3829 100644
--- a/doc/source/pre/whatsnew/1.1.rst
+++ b/doc/source/pre/whatsnew/1.1.rst
@@ -60,3 +60,17 @@ This allows leaving out one lead (preferably the widest) from ``out_leads``
 and ``in_leads``, and still to calculate all transmission probabilities.
 Doing so has been measured to speed up computations by 20% in some
 cases.
+
+Clearer error messages
+----------------------
+The error messages (exceptions) that appear when the Kwant interface is used incorrectly have been improved in many cases.  For example, if instead of ::
+
+    builder[lattice(0, 1)] = 1
+
+one writes ::
+
+    builder[(0, 1)] = 1
+
+the error message will be more helpful now.
+
+Please continue reporting confusing error messages on the Kwant mailing list.
-- 
GitLab