Class: Aws::Pinpoint::Errors::NotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Pinpoint::Errors::NotFoundException
- Defined in:
- lib/aws-sdk-pinpoint/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NotFoundException
constructor
A new instance of NotFoundException.
- #message ⇒ String
- #request_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NotFoundException
Returns a new instance of NotFoundException.
150 151 152 |
# File 'lib/aws-sdk-pinpoint/errors.rb', line 150 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
155 156 157 |
# File 'lib/aws-sdk-pinpoint/errors.rb', line 155 def @message || @data[:message] end |
#request_id ⇒ String
160 161 162 |
# File 'lib/aws-sdk-pinpoint/errors.rb', line 160 def request_id @data[:request_id] end |