Class: Aws::WorkDocs::Errors::InvalidOperationException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidOperationException.

Parameters:



247
248
249
# File 'lib/aws-sdk-workdocs/errors.rb', line 247

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

Instance Method Details

#messageString

Returns:

  • (String)


252
253
254
# File 'lib/aws-sdk-workdocs/errors.rb', line 252

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