Class InternalServerErrorException
- Namespace
- DynaSharp
- Assembly
- DynaSharp.dll
DynamoDB failed internally (HTTP 500). The client has retried it, so this reaches the caller when every attempt failed.
public sealed class InternalServerErrorException : DynamoDbException, ISerializable
- Inheritance
-
InternalServerErrorException
- Implements
- Inherited Members
Remarks
IsTransient is true: try later, after a wait. A write may have been applied before the response was lost, as
MaxAttempts describes. A proxy that answers 502, 503 or 504 with a page that is no DynamoDB response surfaces as a plain
DynamoDbException with the code UnrecognizedResponse, retried the same way.
Constructors
InternalServerErrorException(string, string?, HttpStatusCode)
Initializes a new instance of the InternalServerErrorException class.
public InternalServerErrorException(string message, string? requestId = null, HttpStatusCode statusCode = HttpStatusCode.InternalServerError)
Parameters
messagestringThe error message returned by DynamoDB.
requestIdstringThe AWS request id, if known.
statusCodeHttpStatusCodeThe HTTP status code of the response.