Exception: CoAspects::Aspects::RescueAndNotifyError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/co_aspects/aspects/rescue_and_notify_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, newrelic_opts) ⇒ RescueAndNotifyError

Returns a new instance of RescueAndNotifyError.



6
7
8
9
# File 'lib/co_aspects/aspects/rescue_and_notify_error.rb', line 6

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

Instance Attribute Details

#newrelic_optsObject (readonly)

Returns the value of attribute newrelic_opts.



4
5
6
# File 'lib/co_aspects/aspects/rescue_and_notify_error.rb', line 4

def newrelic_opts
  @newrelic_opts
end