Exception: Gitlab::ImportExport::RemoteStreamUpload::StreamError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gitlab/import_export/remote_stream_upload.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, response_body = '') ⇒ StreamError

Returns a new instance of StreamError.



32
33
34
35
# File 'lib/gitlab/import_export/remote_stream_upload.rb', line 32

def initialize(message, response_body = '')
  super(message)
  @response_body = response_body
end

Instance Attribute Details

#response_bodyObject (readonly)

Returns the value of attribute response_body.



30
31
32
# File 'lib/gitlab/import_export/remote_stream_upload.rb', line 30

def response_body
  @response_body
end