Class: Aws::Lambda::Errors::InvalidCodeSignatureException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidCodeSignatureException.

Parameters:



305
306
307
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 305

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

Instance Method Details

#messageString

Returns:

  • (String)


315
316
317
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 315

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

#typeString

Returns:

  • (String)


310
311
312
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 310

def type
  @data[:type]
end