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)
-
- (Object) errors
readonly
Returns the value of attribute errors.
-
- (Object) exitstatus
readonly
Returns the value of attribute exitstatus.
Instance Method Summary (collapse)
-
- (ExecutionError) initialize(errors, exitstatus = nil)
constructor
A new instance of ExecutionError.
Constructor Details
- (ExecutionError) initialize(errors, exitstatus = nil)
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
- (Object) errors (readonly)
Returns the value of attribute errors
10 11 12 |
# File 'lib/itunes/store/transporter/errors.rb', line 10 def errors @errors end |
- (Object) exitstatus (readonly)
Returns the value of attribute exitstatus
11 12 13 |
# File 'lib/itunes/store/transporter/errors.rb', line 11 def exitstatus @exitstatus end |