Exception: YoutubePop::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- YoutubePop::Error
- Defined in:
- lib/youtube_pop/standard_api.rb
Instance Attribute Summary collapse
-
#source_exception ⇒ Object
readonly
Returns the value of attribute source_exception.
Instance Method Summary collapse
-
#initialize(msg, e = $!) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg, e = $!) ⇒ Error
Returns a new instance of Error.
9 10 11 12 |
# File 'lib/youtube_pop/standard_api.rb', line 9 def initialize(msg, e=$!) super(msg) @source_exception = e end |
Instance Attribute Details
#source_exception ⇒ Object (readonly)
Returns the value of attribute source_exception.
8 9 10 |
# File 'lib/youtube_pop/standard_api.rb', line 8 def source_exception @source_exception end |