Class: OCI::Retry::Functions::ShouldRetryOnError::ErrorCodeTuple

Inherits:
Struct
  • Object
show all
Defined in:
lib/oci/retry/functions/should_retry_on_error.rb

Overview

ErrorCodeTuple wraps status_code and service_code combination to help determine retry status

Instance Attribute Summary collapse

Instance Attribute Details

#service_codeObject

Returns the value of attribute service_code

Returns:

  • (Object)

    the current value of service_code



14
15
16
# File 'lib/oci/retry/functions/should_retry_on_error.rb', line 14

def service_code
  @service_code
end

#status_codeObject

Returns the value of attribute status_code

Returns:

  • (Object)

    the current value of status_code



14
15
16
# File 'lib/oci/retry/functions/should_retry_on_error.rb', line 14

def status_code
  @status_code
end