Class: Aws::IAM::Errors::KeyPairMismatchException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IAM::Errors::KeyPairMismatchException
- Defined in:
- lib/aws-sdk-iam/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KeyPairMismatchException
constructor
A new instance of KeyPairMismatchException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KeyPairMismatchException
Returns a new instance of KeyPairMismatchException.
280 281 282 |
# File 'lib/aws-sdk-iam/errors.rb', line 280 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
285 286 287 |
# File 'lib/aws-sdk-iam/errors.rb', line 285 def @message || @data[:message] end |