Class: Aws::LambdaMicrovms::Errors::ServiceException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::LambdaMicrovms::Errors::ServiceException
- Defined in:
- lib/aws-sdk-lambdamicrovms/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.
182 183 184 |
# File 'lib/aws-sdk-lambdamicrovms/errors.rb', line 182 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
192 193 194 |
# File 'lib/aws-sdk-lambdamicrovms/errors.rb', line 192 def @message || @data[:message] end |
#type ⇒ String
187 188 189 |
# File 'lib/aws-sdk-lambdamicrovms/errors.rb', line 187 def type @data[:type] end |