Class: Aws::ECRPublic::Errors::ServerException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ECRPublic::Errors::ServerException
- Defined in:
- lib/aws-sdk-ecrpublic/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServerException
constructor
A new instance of ServerException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServerException
Returns a new instance of ServerException.
386 387 388 |
# File 'lib/aws-sdk-ecrpublic/errors.rb', line 386 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
391 392 393 |
# File 'lib/aws-sdk-ecrpublic/errors.rb', line 391 def @message || @data[:message] end |