Class: Aws::ECRPublic::Errors::RepositoryPolicyNotFoundException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of RepositoryPolicyNotFoundException.

Parameters:



371
372
373
# File 'lib/aws-sdk-ecrpublic/errors.rb', line 371

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

Instance Method Details

#messageString

Returns:

  • (String)


376
377
378
# File 'lib/aws-sdk-ecrpublic/errors.rb', line 376

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