xref: /freebsd/contrib/llvm-project/lldb/bindings/interface/SBErrorExtensions.i (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1 STRING_EXTENSION_OUTSIDE(SBError)
2 
3 %extend lldb::SBError {
4 #ifdef SWIGPYTHON
5     %pythoncode %{
6         value = property(GetError, None, doc='''A read only property that returns the same result as GetError().''')
7         fail = property(Fail, None, doc='''A read only property that returns the same result as Fail().''')
8         success = property(Success, None, doc='''A read only property that returns the same result as Success().''')
9         description = property(GetCString, None, doc='''A read only property that returns the same result as GetCString().''')
10         type = property(GetType, None, doc='''A read only property that returns the same result as GetType().''')
11     %}
12 #endif
13 }
14