xref: /freebsd/contrib/llvm-project/lldb/bindings/interface/SBErrorExtensions.i (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
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