From 936be07e524daa0fe180a9b026a61f8ba5f7ff2f Mon Sep 17 00:00:00 2001
From: Christoph Groth <christoph.groth@cea.fr>
Date: Wed, 19 Feb 2014 12:28:56 +0100
Subject: [PATCH] add to-do item

---
 TODO | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/TODO b/TODO
index 6866d5a..7996330 100644
--- a/TODO
+++ b/TODO
@@ -2,6 +2,12 @@ Roughly in order of importance.                                     -*-org-*-
 
 * Fix lattice.neighbors() when lattice has lower dimensionality than the space.
 
+* Improve error messages by checking for ABCs
+  Add a classmethod "ensure_isinstance" that takes an object at makes sure that
+  it has the appropriate type.  Otherwise, a non-cryptic error is raised.  The
+  error message can depend on the type of the argument.  For example, it could
+  inform that a builder needs to be finalized.
+
 * Document the order of sites/orbitals in finalized builders
 
 * Add calculation of current density
-- 
GitLab