SudoDIRelayError

public enum SudoDIRelayError : Error, Equatable, LocalizedError

Errors that occur in SudoDIRelay.

Client

  • Configuration supplied to DefaultSudoDIRelayClient is invalid.

    Declaration

    Swift

    case invalidConfig
  • User is not signed in.

    Declaration

    Swift

    case notSignedIn
  • returned message is invalid

    Declaration

    Swift

    case invalidMessage
  • returned postbox is invalid

    Declaration

    Swift

    case invalidPostbox
  • The configuration related to Relay Service is not found in the provided configuration file This may indicate that the Relay Service is not deployed into your runtime instance or the configuration file that you are using is invalid.

    Declaration

    Swift

    case relayServiceConfigNotFound

SudoPlatformError

  • Indicates that a fatal error occurred. This could be due to coding error, out-of-memory condition or other conditions that is beyond control of SudoDIRelayClient implementation.

    Declaration

    Swift

    case fatalError(description: String)

Lifecycle

  • Declaration

    Swift

    public var errorDescription: String? { get }

Conformance: Equatable

  • Declaration

    Swift

    public static func == (lhs: SudoDIRelayError, rhs: SudoDIRelayError) -> Bool