Class: Aws::Neptunedata::Errors::TimeLimitExceededException

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) ⇒ TimeLimitExceededException

Returns a new instance of TimeLimitExceededException.

Parameters:



1073
1074
1075
# File 'lib/aws-sdk-neptunedata/errors.rb', line 1073

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

Instance Method Details

#codeString

Returns:

  • (String)


1094
1095
1096
# File 'lib/aws-sdk-neptunedata/errors.rb', line 1094

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)


1080
1081
1082
1083
1084
1085
1086
# File 'lib/aws-sdk-neptunedata/errors.rb', line 1080

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

#request_idString

Returns:

  • (String)


1089
1090
1091
# File 'lib/aws-sdk-neptunedata/errors.rb', line 1089

def request_id
  @data[:request_id]
end

#retryable?Boolean

Returns:

  • (Boolean)


1098
1099
1100
# File 'lib/aws-sdk-neptunedata/errors.rb', line 1098

def retryable?
  true
end