From: Philippe Proulx Date: Sat, 6 Dec 2014 19:48:54 +0000 (-0500) Subject: Python: document FieldError X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a1cfe2c25f1cf7c5cf72fc9ac475978268277e13;p=deliverable%2Fbabeltrace.git Python: document FieldError Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- 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