From a1cfe2c25f1cf7c5cf72fc9ac475978268277e13 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Sat, 6 Dec 2014 14:48:54 -0500 Subject: [PATCH] Python: document FieldError MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- bindings/python/bt.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bindings/python/bt.py b/bindings/python/bt.py index 8d2884d7d..701d40947 100644 --- a/bindings/python/bt.py +++ b/bindings/python/bt.py @@ -765,6 +765,10 @@ class Event(collections.Mapping): class FieldError(Exception): + """ + Field error, raised when a field's value cannot be accessed. + """ + def __init__(self, value): self.value = value -- 2.34.1