Class: Aws::Glacier::Errors::PolicyEnforcedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Glacier::Errors::PolicyEnforcedException
- Defined in:
- gems/aws-sdk-glacier/lib/aws-sdk-glacier/errors.rb
Instance Method Summary collapse
-
#code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PolicyEnforcedException
constructor
A new instance of PolicyEnforcedException.
-
#message ⇒ String
-
#type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PolicyEnforcedException
Returns a new instance of PolicyEnforcedException.
176 177 178 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/errors.rb', line 176 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
186 187 188 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/errors.rb', line 186 def code @code || @data[:code] end |
#message ⇒ String
191 192 193 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/errors.rb', line 191 def @message || @data[:message] end |
#type ⇒ String
181 182 183 |
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/errors.rb', line 181 def type @data[:type] end |