Interim hand-authored reference. This page is authored from the SeamSDK public Swift sources. See the reference overview for context.
Overview
SeamSDK adds two public extensions to types outside the SDK’s own namespace. Both are minor utility conformances.extension String
String to Error retroactively. This allows string literals to be used as throwable error values in SDK-internal bridging code. It is a low-level utility conformance with no public API surface beyond what Error already provides.
extension PKAutomaticPassPresentationSuppressionResult
Defined in PassKit. SeamSDK adds a CustomStringConvertible conformance so that suppression result values produce human-readable descriptions in logs.
description
Returns a human-readable name for the suppression result.
| Value | description |
|---|---|
.notSupported | "NotSupported" |
.alreadyPresenting | "AlreadyPresenting" |
.denied | "Denied" |
.cancelled | "Cancelled" |
.success | "Success" |
| unknown future cases | "Unknown(<rawValue>)" |

