Class: Aws::Neptunedata::Errors::ConstraintViolationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Neptunedata::Errors::ConstraintViolationException
- Defined in:
- lib/aws-sdk-neptunedata/errors.rb
Instance Method Summary collapse
- #code ⇒ String
- #detailed_message ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ConstraintViolationException
constructor
A new instance of ConstraintViolationException.
- #request_id ⇒ String
- #retryable? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ConstraintViolationException
Returns a new instance of ConstraintViolationException.
238 239 240 |
# File 'lib/aws-sdk-neptunedata/errors.rb', line 238 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
253 254 255 |
# File 'lib/aws-sdk-neptunedata/errors.rb', line 253 def code @code || @data[:code] end |
#detailed_message ⇒ String
243 244 245 |
# File 'lib/aws-sdk-neptunedata/errors.rb', line 243 def @data[:detailed_message] end |
#request_id ⇒ String
248 249 250 |
# File 'lib/aws-sdk-neptunedata/errors.rb', line 248 def request_id @data[:request_id] end |
#retryable? ⇒ Boolean
257 258 259 |
# File 'lib/aws-sdk-neptunedata/errors.rb', line 257 def retryable? true end |