Exception: LLDB::InternalBindingError

Inherits:
LLDBError
  • Object
show all
Defined in:
lib/lldb/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operation, native_message, native_code) ⇒ InternalBindingError

Returns a new instance of InternalBindingError.

RBS:

  • operation: String

  • native_message: String

  • native_code: Integer

  • return: void



40
41
42
43
44
45
# File 'lib/lldb/error.rb', line 40

def initialize(operation, native_message, native_code)
  @operation = operation
  @native_message = native_message
  @native_code = native_code
  super("Native wrapper operation '#{operation}' failed (code=#{native_code}): #{native_message}")
end

Instance Attribute Details

#native_codeObject (readonly)

Returns the value of attribute native_code.



34
35
36
# File 'lib/lldb/error.rb', line 34

def native_code
  @native_code
end

#native_messageObject (readonly)

Returns the value of attribute native_message.



34
35
36
# File 'lib/lldb/error.rb', line 34

def native_message
  @native_message
end

#operationObject (readonly)

Returns the value of attribute operation.



34
35
36
# File 'lib/lldb/error.rb', line 34

def operation
  @operation
end