Class: Aws::PricingPlanManager::Errors::ValidationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::PricingPlanManager::Errors::ValidationException
- Defined in:
- gems/aws-sdk-pricingplanmanager/lib/aws-sdk-pricingplanmanager/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException
constructor
A new instance of ValidationException.
-
#message ⇒ String
-
#resource_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException
Returns a new instance of ValidationException.
149 150 151 |
# File 'gems/aws-sdk-pricingplanmanager/lib/aws-sdk-pricingplanmanager/errors.rb', line 149 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
154 155 156 |
# File 'gems/aws-sdk-pricingplanmanager/lib/aws-sdk-pricingplanmanager/errors.rb', line 154 def @message || @data[:message] end |
#resource_id ⇒ String
159 160 161 |
# File 'gems/aws-sdk-pricingplanmanager/lib/aws-sdk-pricingplanmanager/errors.rb', line 159 def resource_id @data[:resource_id] end |