Class CloudflareR2ListException<T>
- Namespace
- Cloudflare.NET.R2.Exceptions
- Assembly
- Cloudflare.NET.R2.dll
Represents an exception thrown during a paginated list operation where the operation failed mid-stream. This exception provides access to the data that was successfully retrieved before the failure occurred.
public class CloudflareR2ListException<T> : CloudflareR2OperationException, ISerializable
Type Parameters
TThe type of the items being listed.
- Inheritance
-
CloudflareR2ListException<T>
- Implements
- Inherited Members
Constructors
CloudflareR2ListException(string, IReadOnlyList<T>, R2Result, Exception)
Initializes a new instance of the CloudflareR2ListException<T> class.
public CloudflareR2ListException(string message, IReadOnlyList<T> partialData, R2Result partialMetrics, Exception innerException)
Parameters
messagestringThe message that describes the error.
partialDataIReadOnlyList<T>The data that was successfully retrieved.
partialMetricsR2ResultThe metrics accumulated before the error occurred.
innerExceptionExceptionThe underlying exception from the S3 SDK.
Properties
PartialData
Gets the list of items that were successfully fetched before the operation failed.
public IReadOnlyList<T> PartialData { get; }