Class: Aws::ECR::Errors::LayerPartTooSmallException

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) ⇒ LayerPartTooSmallException

Returns a new instance of LayerPartTooSmallException.

Parameters:



287
288
289
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 287

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

Instance Method Details

#messageString

Returns:

  • (String)


292
293
294
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 292

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