Class: Aws::Neptunedata::Errors::CancelledByUserException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CancelledByUserException.

Parameters:



155
156
157
# File 'lib/aws-sdk-neptunedata/errors.rb', line 155

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

Instance Method Details

#codeString

Returns:

  • (String)


170
171
172
# File 'lib/aws-sdk-neptunedata/errors.rb', line 170

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

#detailed_messageString

Returns:

  • (String)


160
161
162
# File 'lib/aws-sdk-neptunedata/errors.rb', line 160

def detailed_message
  @data[:detailed_message]
end

#request_idString

Returns:

  • (String)


165
166
167
# File 'lib/aws-sdk-neptunedata/errors.rb', line 165

def request_id
  @data[:request_id]
end