Exception: Rack::PerftoolsProfiler::ProfilingError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rack/perftools_profiler/profiler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, stderr) ⇒ ProfilingError

Returns a new instance of ProfilingError.



7
8
9
10
# File 'lib/rack/perftools_profiler/profiler.rb', line 7

def initialize(message, stderr)
  super(message)
  @stderr = stderr
end

Instance Attribute Details

#stderrObject (readonly)

Returns the value of attribute stderr.



5
6
7
# File 'lib/rack/perftools_profiler/profiler.rb', line 5

def stderr
  @stderr
end