Class: Aws::Backup::Errors::InvalidRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Backup::Errors::InvalidRequestException
- Defined in:
- lib/aws-sdk-backup/errors.rb
Instance Method Summary collapse
- #code ⇒ String
- #context ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidRequestException
constructor
A new instance of InvalidRequestException.
- #message ⇒ String
- #type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidRequestException
Returns a new instance of InvalidRequestException.
182 183 184 |
# File 'lib/aws-sdk-backup/errors.rb', line 182 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
187 188 189 |
# File 'lib/aws-sdk-backup/errors.rb', line 187 def code @code || @data[:code] end |
#context ⇒ String
202 203 204 |
# File 'lib/aws-sdk-backup/errors.rb', line 202 def context @data[:context] end |
#message ⇒ String
192 193 194 |
# File 'lib/aws-sdk-backup/errors.rb', line 192 def @message || @data[:message] end |
#type ⇒ String
197 198 199 |
# File 'lib/aws-sdk-backup/errors.rb', line 197 def type @data[:type] end |