Backend half

This commit is contained in:
2025-07-11 19:56:28 +02:00
parent fa868e7c1d
commit 8600fa7c1d
19426 changed files with 3750448 additions and 8108 deletions
+53
View File
@@ -0,0 +1,53 @@
/**
* A structure containing information about a service or networking error.
*/
export type AWSError = Error & {
/**
* A unique short code representing the error that was emitted.
*/
code: string;
/**
* A longer human readable error message.
*/
message: string;
/**
* Whether the error message is retryable.
*/
retryable?: boolean;
/**
* In the case of a request that reached the service, this value contains the response status code.
*/
statusCode?: number;
/**
* The date time object when the error occurred.
*/
time: Date;
/**
* Set when a networking error occurs to easily identify the endpoint of the request.
*/
hostname?: string;
/**
* Set when a networking error occurs to easily identify the region of the request.
*/
region?: string;
/**
* Amount of time (in seconds) that the request waited before being resent.
*/
retryDelay?: number;
/**
* The unique request ID associated with the response.
*/
requestId?: string;
/**
* Second request ID associated with the response from S3.
*/
extendedRequestId?: string;
/**
* CloudFront request ID associated with the response.
*/
cfId?: string;
/**
* The original error which caused this Error
*/
originalError?: Error
}