Exception: LLDB::OperationError
- Defined in:
- lib/lldb/error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#error_type ⇒ Object
readonly
Returns the value of attribute error_type.
-
#operation ⇒ Object
readonly
Returns the value of attribute operation.
Instance Method Summary collapse
-
#initialize(operation, error) ⇒ OperationError
constructor
A new instance of OperationError.
Constructor Details
#initialize(operation, error) ⇒ OperationError
Returns a new instance of OperationError.
24 25 26 27 28 29 30 |
# File 'lib/lldb/error.rb', line 24 def initialize(operation, error) @operation = operation @error = error @code = error.code @error_type = error.type super("LLDB operation '#{operation}' failed (type=#{error.type_name}, code=#{error.code}): #{error.}") end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
19 20 21 |
# File 'lib/lldb/error.rb', line 19 def code @code end |
#error ⇒ Object (readonly)
Returns the value of attribute error.
19 20 21 |
# File 'lib/lldb/error.rb', line 19 def error @error end |
#error_type ⇒ Object (readonly)
Returns the value of attribute error_type.
19 20 21 |
# File 'lib/lldb/error.rb', line 19 def error_type @error_type end |
#operation ⇒ Object (readonly)
Returns the value of attribute operation.
19 20 21 |
# File 'lib/lldb/error.rb', line 19 def operation @operation end |