Exception: ITunes::Store::Transporter::ExecutionError
- Inherits:
-
TransporterError
- Object
- StandardError
- TransporterError
- ITunes::Store::Transporter::ExecutionError
- Defined in:
- lib/itunes/store/transporter/errors.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#exitstatus ⇒ Object
readonly
Returns the value of attribute exitstatus.
Instance Method Summary collapse
-
#initialize(errors, exitstatus = nil) ⇒ ExecutionError
constructor
A new instance of ExecutionError.
Constructor Details
#initialize(errors, exitstatus = nil) ⇒ ExecutionError
Returns a new instance of ExecutionError.
13 14 15 16 17 |
# File 'lib/itunes/store/transporter/errors.rb', line 13 def initialize(errors, exitstatus = nil) @errors = [ errors ].flatten @exitstatus = exitstatus super @errors.map { |e| e.to_s }.join ", " end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
10 11 12 |
# File 'lib/itunes/store/transporter/errors.rb', line 10 def errors @errors end |
#exitstatus ⇒ Object (readonly)
Returns the value of attribute exitstatus.
11 12 13 |
# File 'lib/itunes/store/transporter/errors.rb', line 11 def exitstatus @exitstatus end |