Exception: FtpMultipartDownload::ConnectionError

Inherits:
Error
  • Object
show all
Defined in:
lib/ftp_multipart_download.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error_message = nil, errors: []) ⇒ ConnectionError

Returns a new instance of ConnectionError.



13
14
15
16
# File 'lib/ftp_multipart_download.rb', line 13

def initialize(error_message = nil, errors: [])
  super(error_message)
  @errors = errors
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



11
12
13
# File 'lib/ftp_multipart_download.rb', line 11

def errors
  @errors
end