Class: Aspera::Transfer::Result::Error
- Inherits:
-
Result
- Object
- Result
- Aspera::Transfer::Result::Error
- Defined in:
- lib/aspera/transfer/result.rb
Overview
At least one session failed.
Instance Attribute Summary collapse
- #exception ⇒ StandardError readonly
Instance Method Summary collapse
-
#initialize(exception) ⇒ Error
constructor
A new instance of Error.
- #to_s ⇒ Object
Constructor Details
#initialize(exception) ⇒ Error
Returns a new instance of Error.
25 26 27 28 |
# File 'lib/aspera/transfer/result.rb', line 25 def initialize(exception) super() @exception = exception end |
Instance Attribute Details
#exception ⇒ StandardError (readonly)
23 24 25 |
# File 'lib/aspera/transfer/result.rb', line 23 def exception @exception end |
Instance Method Details
#to_s ⇒ Object
30 31 32 |
# File 'lib/aspera/transfer/result.rb', line 30 def to_s "error: #{@exception.}" end |