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