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

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-ecr/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:



160
161
162
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 160

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

Instance Method Details

#last_valid_byte_receivedString

Returns:

  • (String)


180
181
182
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 180

def last_valid_byte_received
  @data[:last_valid_byte_received]
end

#messageString

Returns:

  • (String)


185
186
187
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 185

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

#registry_idString

Returns:

  • (String)


165
166
167
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 165

def registry_id
  @data[:registry_id]
end

#repository_nameString

Returns:

  • (String)


170
171
172
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 170

def repository_name
  @data[:repository_name]
end

#upload_idString

Returns:

  • (String)


175
176
177
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 175

def upload_id
  @data[:upload_id]
end