Class: Aws::MediaTailor::Errors::BadRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::MediaTailor::Errors::BadRequestException
- Defined in:
- gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/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.
43 44 45 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/errors.rb', line 43 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
48 49 50 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/errors.rb', line 48 def @message || @data[:message] end |