Class: Aws::Lambda::Errors::InvalidZipFileException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Lambda::Errors::InvalidZipFileException
- Defined in:
- gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidZipFileException
constructor
A new instance of InvalidZipFileException.
-
#message ⇒ String
-
#type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidZipFileException
Returns a new instance of InvalidZipFileException.
511 512 513 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 511 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
521 522 523 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 521 def @message || @data[:message] end |
#type ⇒ String
516 517 518 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 516 def type @data[:type] end |