Class: Aws::Imagebuilder::Errors::ClientException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Imagebuilder::Errors::ClientException
- Defined in:
- gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ClientException
constructor
A new instance of ClientException.
-
#message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ClientException
Returns a new instance of ClientException.
74 75 76 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/errors.rb', line 74 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
79 80 81 |
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/errors.rb', line 79 def @message || @data[:message] end |