Class: Aws::AgentDiscovery::Types::InternalServerException

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-agentdiscovery/lib/aws-sdk-agentdiscovery/types.rb

Overview

Thrown on an internal defect — a bug or malformed state, not a failed dependency.

⚠️ Deliberately a permanent failure. Repeating a request that failed to serialize will fail identically, so treating a 500 as retryable would spin a poison message through redelivery forever instead of letting it reach a dead-letter queue. Dependency failures that are worth retrying use ServiceUnavailableException and its 503 instead.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_code ⇒ String

ARD's Appendix B code on the ARD surface, INTERNAL_ERROR.

Returns:

  • (String)


120
121
122
123
124
125
# File 'gems/aws-sdk-agentdiscovery/lib/aws-sdk-agentdiscovery/types.rb', line 120

class InternalServerException < Struct.new(
  :message,
  :error_code)
  SENSITIVE = []
  include Aws::Structure
end

#message ⇒ String

Returns:

  • (String)


120
121
122
123
124
125
# File 'gems/aws-sdk-agentdiscovery/lib/aws-sdk-agentdiscovery/types.rb', line 120

class InternalServerException < Struct.new(
  :message,
  :error_code)
  SENSITIVE = []
  include Aws::Structure
end