Class: Aws::SNS::Errors::UserErrorException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SNS::Errors::UserErrorException
- Defined in:
- lib/aws-sdk-sns/errors.rb
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.
541 542 543 |
# File 'lib/aws-sdk-sns/errors.rb', line 541 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
546 547 548 |
# File 'lib/aws-sdk-sns/errors.rb', line 546 def @message || @data[:message] end |