Class: Aws::CodePipeline::Errors::RequestFailedException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of RequestFailedException.

Parameters:



463
464
465
# File 'lib/aws-sdk-codepipeline/errors.rb', line 463

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

Instance Method Details

#messageString

Returns:

  • (String)


468
469
470
# File 'lib/aws-sdk-codepipeline/errors.rb', line 468

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