Class: Aws::Shield::Errors::LockedSubscriptionException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Shield::Errors::LockedSubscriptionException
- Defined in:
- lib/aws-sdk-shield/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ LockedSubscriptionException
constructor
A new instance of LockedSubscriptionException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ LockedSubscriptionException
Returns a new instance of LockedSubscriptionException.
195 196 197 |
# File 'lib/aws-sdk-shield/errors.rb', line 195 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
200 201 202 |
# File 'lib/aws-sdk-shield/errors.rb', line 200 def @message || @data[:message] end |