Skip to content

DurableOfferRegistrationError

Public failures from durable installation-scoped offer registration.

const DurableOfferRegistrationError: Schema.toTaggedUnion<"code", readonly [Schema.toTaggedUnion<"code", readonly [Schema.Struct<{
code: Schema.Literal<"offer_revision_conflict">;
key: Schema.brand<Schema.String, "OfferKey">;
revision: Schema.brand<Schema.Int, "DefinitionRevision">;
}>, Schema.Struct<{
code: Schema.Literal<"purchase_revision_conflict">;
key: Schema.brand<Schema.String, "PurchaseKey">;
revision: Schema.brand<Schema.Int, "DefinitionRevision">;
}>, Schema.Struct<{
code: Schema.Literal<"invalid_offer_collection">;
}>]>, Schema.Struct<{
code: Schema.Literal<"missing_offer_implementation">;
kind: Schema.Literals<readonly ["download_asset", "fulfillment_binding", "meter", "merchant_access_policy"]>;
key: Schema.String;
revision: Schema.brand<Schema.Int, "DefinitionRevision">;
}>, Schema.Struct<{
code: Schema.Literal<"internal_error">;
}>]>;