Skip to content

DeliveryError Class

How a receiver tells a transmitter that a SET was bad: the body of a push failure response (RFC 8935 Section 2.3) and the per-token value of a poll request's "setErrs" member (RFC 8936 Section 2.2), which share this shape by the latter's reference to the former.

C#
public record DeliveryError : System.IEquatable<Abblix.SecurityEvents.Delivery.DeliveryError>

Inheritance System.Object → DeliveryError

Implements System.IEquatable<DeliveryError>

Constructors

DeliveryError(string, string) Constructor

How a receiver tells a transmitter that a SET was bad: the body of a push failure response (RFC 8935 Section 2.3) and the per-token value of a poll request's "setErrs" member (RFC 8936 Section 2.2), which share this shape by the latter's reference to the former.

C#
public DeliveryError(string Error, string Description);

Parameters

Error System.String

A code from the IANA registry, listed on DeliveryErrorCodes.

Description System.String

A human-readable account of what failed - the half an operator on the transmitting side reads, since the code alone says only which class of thing went wrong.

Properties

DeliveryError.Description Property

A human-readable account of what failed - the half an operator on the transmitting side reads, since the code alone says only which class of thing went wrong.

C#
public string Description { get; init; }

Property Value

System.String

DeliveryError.Error Property

A code from the IANA registry, listed on DeliveryErrorCodes.

C#
public string Error { get; init; }

Property Value

System.String