Class: Aws::Connect::Errors::InvalidRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Connect::Errors::InvalidRequestException
- Defined in:
- lib/aws-sdk-connect/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidRequestException
constructor
A new instance of InvalidRequestException.
- #message ⇒ String
- #reason ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidRequestException
Returns a new instance of InvalidRequestException.
248 249 250 |
# File 'lib/aws-sdk-connect/errors.rb', line 248 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
253 254 255 |
# File 'lib/aws-sdk-connect/errors.rb', line 253 def @message || @data[:message] end |
#reason ⇒ String
258 259 260 |
# File 'lib/aws-sdk-connect/errors.rb', line 258 def reason @data[:reason] end |