Exception: R2D::Error
- Inherits:
-
StandardError
- Object
- StandardError
- R2D::Error
- Defined in:
- lib/r2d/exceptions.rb
Instance Method Summary collapse
-
#initialize(msg) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg) ⇒ Error
Returns a new instance of Error.
5 6 7 8 9 10 |
# File 'lib/r2d/exceptions.rb', line 5 def initialize(msg) super(msg) # puts msg # puts "Occurred in:" # puts " " + caller.last, "\n" end |