Class: Aws::Neptunedata::Errors::BulkLoadIdNotFoundException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of BulkLoadIdNotFoundException.

Parameters:



141
142
143
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 141

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

Instance Method Details

#code ⇒ String

Returns:

  • (String)


162
163
164
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 162

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

#detailed_message(**kwargs) ⇒ String

Note:

This member shadows Exception#detailed_message on Ruby 3.2+. Use error.data.detailed_message to access the API member directly.

Returns:

  • (String)


148
149
150
151
152
153
154
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 148

def detailed_message(**kwargs)
  if kwargs.empty?
    @data[:detailed_message]
  else
    super
  end
end

#request_id ⇒ String

Returns:

  • (String)


157
158
159
# File 'gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/errors.rb', line 157

def request_id
  @data[:request_id]
end

#retryable? ⇒ Boolean

Returns:

  • (Boolean)


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

def retryable?
  true
end