Class: Aws::ApplicationInsights::Errors::BadRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ApplicationInsights::Errors::BadRequestException
- Defined in:
- lib/aws-sdk-applicationinsights/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ BadRequestException
constructor
A new instance of BadRequestException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ BadRequestException
Returns a new instance of BadRequestException.
65 66 67 |
# File 'lib/aws-sdk-applicationinsights/errors.rb', line 65 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
70 71 72 |
# File 'lib/aws-sdk-applicationinsights/errors.rb', line 70 def @message || @data[:message] end |