You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Athena::Errors::InvalidRequestException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidRequestException

Parameters:



34
35
36
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/errors.rb', line 34

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

Instance Method Details

#athena_error_codeString

Returns:

  • (String)


39
40
41
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/errors.rb', line 39

def athena_error_code
  @data[:athena_error_code]
end

#messageString

Returns:

  • (String)


44
45
46
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/errors.rb', line 44

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