Class: Aws::Firehose::Errors::InvalidSourceException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Firehose::Errors::InvalidSourceException
- Defined in:
- lib/aws-sdk-firehose/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidSourceException
constructor
A new instance of InvalidSourceException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidSourceException
Returns a new instance of InvalidSourceException.
100 101 102 |
# File 'lib/aws-sdk-firehose/errors.rb', line 100 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
105 106 107 |
# File 'lib/aws-sdk-firehose/errors.rb', line 105 def code @code || @data[:code] end |
#message ⇒ String
110 111 112 |
# File 'lib/aws-sdk-firehose/errors.rb', line 110 def @message || @data[:message] end |