Error

public enum Error : Sendable
extension NotificationService.Error: Error

Notification Service Errors

  • Device Environment Unsafe error

    Declaration

    Swift

    case deviceEnvironmentUnsafe(_: Swift.Error)

    Parameters

    underlying

    Swift Error

  • Client error.

    Declaration

    Swift

    case clientError(_: String)

    Parameters

    message

    error message.

  • Server error.

    Declaration

    Swift

    case serverError(_: String)
  • No network connection.

    Declaration

    Swift

    case networkError
  • unknown error

    Declaration

    Swift

    case unknown(_: Swift.Error)

    Parameters

    underlying

    Swift Error

  • A localized message describing the error that occurred.

    Declaration

    Swift

    public var description: String { get }