Enumerations

The following enumerations are available globally.

  • The appearance options for a single checkbox field.

    • checkbox: A traditional checkbox appearance.
    • switch: A switch/toggle appearance.
    See more

    Declaration

    Swift

    public enum BooleanCollectorAppearance : String, Sendable
  • Represents the status of a polling operation.

    See more

    Declaration

    Swift

    public enum PollingStatus : Sendable
  • Errors specific to PollingCollector operations.

    See more

    Declaration

    Swift

    public enum PollingError : Error, LocalizedError, Sendable
  • Represents errors that occur during serialization.

    See more

    Declaration

    Swift

    public enum SerializationError : Error, LocalizedError, Sendable
  • Represents API errors that occur during response transformation.

    @unchecked Sendable is used here because the associated [String: Any] JSON dictionary does not conform to Sendable in Swift’s type system. However, this is safe in practice because the dictionary is populated once at the call site during response parsing and is never mutated after the error value is constructed. All access is read-only.

    See more

    Declaration

    Swift

    public enum ApiError : Error, LocalizedError, @unchecked Sendable