Class: Aws::ECR::Errors::UnsupportedImageTypeException

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

Returns a new instance of UnsupportedImageTypeException.

Parameters:



502
503
504
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 502

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

Instance Method Details

#messageString

Returns:

  • (String)


507
508
509
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 507

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