Class: Aws::AppStream::Errors::EntitlementAlreadyExistsException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of EntitlementAlreadyExistsException.

Parameters:



71
72
73
# File 'gems/aws-sdk-appstream/lib/aws-sdk-appstream/errors.rb', line 71

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

Instance Method Details

#messageString

Returns:

  • (String)


76
77
78
# File 'gems/aws-sdk-appstream/lib/aws-sdk-appstream/errors.rb', line 76

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