Class: Aws::CloudFront::Errors::InvalidOriginReadTimeout

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidOriginReadTimeout.

Parameters:



897
898
899
# File 'lib/aws-sdk-cloudfront/errors.rb', line 897

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

Instance Method Details

#messageString

Returns:

  • (String)


902
903
904
# File 'lib/aws-sdk-cloudfront/errors.rb', line 902

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