Class: Aws::CognitoSync::Errors::DuplicateRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CognitoSync::Errors::DuplicateRequestException
- Defined in:
- lib/aws-sdk-cognitosync/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DuplicateRequestException
constructor
A new instance of DuplicateRequestException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DuplicateRequestException
Returns a new instance of DuplicateRequestException.
85 86 87 |
# File 'lib/aws-sdk-cognitosync/errors.rb', line 85 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
90 91 92 |
# File 'lib/aws-sdk-cognitosync/errors.rb', line 90 def @message || @data[:message] end |