Table of Contents

Class CloudflareR2OperationException

Namespace
Cloudflare.NET.R2.Exceptions
Assembly
Cloudflare.NET.R2.dll

Represents an exception thrown for a failed R2 API operation, such as a 404 on a GetObject call or a 403 on a PutObject call.

public class CloudflareR2OperationException : CloudflareR2Exception, ISerializable
Inheritance
CloudflareR2OperationException
Implements
Derived
Inherited Members

Constructors

CloudflareR2OperationException(string, R2Result, Exception)

Initializes a new instance of the CloudflareR2OperationException class.

public CloudflareR2OperationException(string message, R2Result partialMetrics, Exception innerException)

Parameters

message string

The message that describes the error.

partialMetrics R2Result

The metrics accumulated before the error occurred.

innerException Exception

The underlying exception from the S3 SDK.