class MusicUtils::StdError
Prevents the user of the library from rescuing the global ‘StandardError`.
Attributes
original[R]
Public Class Methods
new(msg, original=$!)
click to toggle source
Create the error with a message and an original that defaults to the exception that is currently active, in this thread, if one exists
Calls superclass method
# File lib/music-utils/errors/std_error.rb, line 11 def initialize(msg, original=$!) super(msg) @original = original; end