lib: rename INVALID_OBJECT status to UNKNOWN_OBJECT
[babeltrace.git] / src / bindings / python / bt2 / bt2 / __init__.py
index 313ede9b66c95abe0896fed8e5da7b031494d24a..078ab0d05127858c88135fdfb52fadcbde15c5c9 100644 (file)
@@ -160,7 +160,12 @@ class _MemoryError(_Error):
     '''Raised when an operation fails due to memory issues.'''
 
 
-class InvalidObject(Exception):
+class UnknownObject(Exception):
+    '''
+    Raised when a component class handles a query for an object it doesn't
+    know about.
+    '''
+
     pass
 
 
This page took 0.0385 seconds and 4 git commands to generate.