Class: Aws::LambdaPreview::Errors::ServiceException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::LambdaPreview::Errors::ServiceException
- Defined in:
- lib/aws-sdk-lambdapreview/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceException
constructor
A new instance of ServiceException.
- #message ⇒ String
- #type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceException
Returns a new instance of ServiceException.
106 107 108 |
# File 'lib/aws-sdk-lambdapreview/errors.rb', line 106 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
116 117 118 |
# File 'lib/aws-sdk-lambdapreview/errors.rb', line 116 def @message || @data[:message] end |
#type ⇒ String
111 112 113 |
# File 'lib/aws-sdk-lambdapreview/errors.rb', line 111 def type @data[:type] end |