Exception: Rookout::Exceptions::RookSetTracepointFailed

Inherits:
ToolException
  • Object
show all
Defined in:
lib/rookout/exceptions.rb

Instance Attribute Summary

Attributes inherited from ToolException

#parameters

Instance Method Summary collapse

Constructor Details

#initialize(target_line, error) ⇒ RookSetTracepointFailed

Returns a new instance of RookSetTracepointFailed.



150
151
152
153
# File 'lib/rookout/exceptions.rb', line 150

def initialize target_line, error
  super "Failed to set TracePoint on line #{target_line} due to #{error.message}",
        { target_line: target_line, error: error }
end