Class: Aws::ECRPublic::Errors::UnsupportedCommandException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ECRPublic::Errors::UnsupportedCommandException
- Defined in:
- lib/aws-sdk-ecrpublic/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnsupportedCommandException
constructor
A new instance of UnsupportedCommandException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnsupportedCommandException
Returns a new instance of UnsupportedCommandException.
416 417 418 |
# File 'lib/aws-sdk-ecrpublic/errors.rb', line 416 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
421 422 423 |
# File 'lib/aws-sdk-ecrpublic/errors.rb', line 421 def @message || @data[:message] end |