Class: Aws::SNS::Errors::UserErrorException Deprecated
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SNS::Errors::UserErrorException
- Defined in:
- lib/aws-sdk-sns/errors.rb
Overview
Deprecated.
This error class is not used during parsing. Please use ‘UserError` instead.
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UserErrorException
constructor
A new instance of UserErrorException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UserErrorException
Returns a new instance of UserErrorException.
635 636 637 |
# File 'lib/aws-sdk-sns/errors.rb', line 635 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
640 641 642 |
# File 'lib/aws-sdk-sns/errors.rb', line 640 def @message || @data[:message] end |