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.
19 20 21 22 |
# File 'lib/peddler/errors/error.rb', line 19 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.
17 18 19 |
# File 'lib/peddler/errors/error.rb', line 17 def cause @cause end |