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