Class: Aws::ECR::Errors::InvalidLayerPartException

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-ecr/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidLayerPartException

Returns a new instance of InvalidLayerPartException.

Parameters:



172
173
174
# File 'lib/aws-sdk-ecr/errors.rb', line 172

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#last_valid_byte_receivedString

Returns:

  • (String)


192
193
194
# File 'lib/aws-sdk-ecr/errors.rb', line 192

def last_valid_byte_received
  @data[:last_valid_byte_received]
end

#messageString

Returns:

  • (String)


197
198
199
# File 'lib/aws-sdk-ecr/errors.rb', line 197

def message
  @message || @data[:message]
end

#registry_idString

Returns:

  • (String)


177
178
179
# File 'lib/aws-sdk-ecr/errors.rb', line 177

def registry_id
  @data[:registry_id]
end

#repository_nameString

Returns:

  • (String)


182
183
184
# File 'lib/aws-sdk-ecr/errors.rb', line 182

def repository_name
  @data[:repository_name]
end

#upload_idString

Returns:

  • (String)


187
188
189
# File 'lib/aws-sdk-ecr/errors.rb', line 187

def upload_id
  @data[:upload_id]
end