Class: Aws::ServiceDiscovery::Errors::ServiceNotFound
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ServiceDiscovery::Errors::ServiceNotFound
- Defined in:
- lib/aws-sdk-servicediscovery/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceNotFound
constructor
A new instance of ServiceNotFound.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceNotFound
Returns a new instance of ServiceNotFound.
261 262 263 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 261 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
266 267 268 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 266 def @message || @data[:message] end |