Class: Aws::MediaTailor::Errors::BadRequestException

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-mediatailor/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ BadRequestException

Returns a new instance of BadRequestException.

Parameters:



43
44
45
# File 'lib/aws-sdk-mediatailor/errors.rb', line 43

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


48
49
50
# File 'lib/aws-sdk-mediatailor/errors.rb', line 48

def message
  @message || @data[:message]
end