Class: Aws::Lambda::Errors::RequestTooLargeException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of RequestTooLargeException.

Parameters:


581
582
583
# File 'lib/aws-sdk-lambda/errors.rb', line 581

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

Instance Method Details

#messageString

Returns:

  • (String)

591
592
593
# File 'lib/aws-sdk-lambda/errors.rb', line 591

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

#typeString

Returns:

  • (String)

586
587
588
# File 'lib/aws-sdk-lambda/errors.rb', line 586

def type
  @data[:type]
end