Class: Aws::ServiceDiscovery::Errors::OperationNotFound

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-servicediscovery/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OperationNotFound

Returns a new instance of OperationNotFound.

Parameters:



162
163
164
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 162

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


167
168
169
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 167

def message
  @message || @data[:message]
end