Class: Aws::WorkDocs::Errors::InvalidCommentOperationException

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) ⇒ InvalidCommentOperationException

Returns a new instance of InvalidCommentOperationException.

Parameters:



232
233
234
# File 'lib/aws-sdk-workdocs/errors.rb', line 232

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

Instance Method Details

#messageString

Returns:

  • (String)


237
238
239
# File 'lib/aws-sdk-workdocs/errors.rb', line 237

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