Exception: Raygun::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/raygun/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, raygun_custom_data = {}) ⇒ Error

Returns a new instance of Error.



5
6
7
8
# File 'lib/raygun/error.rb', line 5

def initialize(message, raygun_custom_data = {})
  super(message)
  @raygun_custom_data = raygun_custom_data
end

Instance Attribute Details

#raygun_custom_dataObject (readonly)

Returns the value of attribute raygun_custom_data.



3
4
5
# File 'lib/raygun/error.rb', line 3

def raygun_custom_data
  @raygun_custom_data
end