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