Exception: Reattract::ReattractError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/reattract/reattract_error.rb

Overview

Standard error message

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ ReattractError

Returns a new instance of ReattractError.



8
9
10
11
# File 'lib/reattract/reattract_error.rb', line 8

def initialize(message = nil)
  @message = message
  super
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



6
7
8
# File 'lib/reattract/reattract_error.rb', line 6

def message
  @message
end