Class: Aws::CodeStarconnections::Errors::ConditionalCheckFailedException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ConditionalCheckFailedException.

Parameters:



89
90
91
# File 'lib/aws-sdk-codestarconnections/errors.rb', line 89

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

Instance Method Details

#messageString

Returns:

  • (String)


94
95
96
# File 'lib/aws-sdk-codestarconnections/errors.rb', line 94

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