Exception: Peddler::Errors::Error Private
- Inherits:
-
StandardError
- Object
- StandardError
- Peddler::Errors::Error
- Defined in:
- lib/peddler/errors/error.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #cause ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(msg, cause) ⇒ Error
constructor
private
A new instance of Error.
Constructor Details
#initialize(msg, cause) ⇒ Error
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Error.
23 24 25 26 |
# File 'lib/peddler/errors/error.rb', line 23 def initialize(msg, cause) @cause = cause super msg end |
Instance Attribute Details
#cause ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
21 22 23 |
# File 'lib/peddler/errors/error.rb', line 21 def cause @cause end |