Class: Aws::SNS::Errors::TagPolicyException

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-sns/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TagPolicyException

Returns a new instance of TagPolicyException.

Parameters:



481
482
483
# File 'lib/aws-sdk-sns/errors.rb', line 481

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


486
487
488
# File 'lib/aws-sdk-sns/errors.rb', line 486

def message
  @message || @data[:message]
end