Class: Aws::Batch::Errors::ClientException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ClientException.

Parameters:



42
43
44
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/errors.rb', line 42

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

Instance Method Details

#messageString

Returns:

  • (String)


47
48
49
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/errors.rb', line 47

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