Class: Aws::InternetMonitor::Errors::BadRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::InternetMonitor::Errors::BadRequestException
- Defined in:
- lib/aws-sdk-internetmonitor/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.
68 69 70 |
# File 'lib/aws-sdk-internetmonitor/errors.rb', line 68 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
73 74 75 |
# File 'lib/aws-sdk-internetmonitor/errors.rb', line 73 def @message || @data[:message] end |