Python bindings: clarify invalid argument type exception
[babeltrace.git] / bindings / python / babeltrace.i.in
index b1c4f50bea3ea54454c4ed12aa1cadeb1bb67288..8ff24b7c564b198bf3d2da8f1ac205dfdf1bfefb 100644 (file)
@@ -2821,7 +2821,7 @@ class CTFWriter:
                """
                def __init__(self, stream_class):
                        if not isinstance(stream_class, CTFWriter.StreamClass):
-                               raise TypeError("Invalid stream_class type.")
+                               raise TypeError("Invalid stream_class argument must be of type StreamClass.")
 
                        self._s = _bt_ctf_stream_create(stream_class._sc)
                        if self._s is None:
This page took 0.023067 seconds and 4 git commands to generate.