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