Class: Aws::RAM::Errors::PermissionAlreadyExistsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::RAM::Errors::PermissionAlreadyExistsException
- Defined in:
- lib/aws-sdk-ram/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PermissionAlreadyExistsException
constructor
A new instance of PermissionAlreadyExistsException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PermissionAlreadyExistsException
Returns a new instance of PermissionAlreadyExistsException.
250 251 252 |
# File 'lib/aws-sdk-ram/errors.rb', line 250 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
255 256 257 |
# File 'lib/aws-sdk-ram/errors.rb', line 255 def @message || @data[:message] end |