BackendError

public enum BackendError: LocalizedError

Represents the possible backend error types.

  • Network error.

    Declaration

    Swift

    case network(error: Error)
  • An error message from the server.

    Declaration

    Swift

    case errorMessage(message: String)
  • A localized message describing what error occurred.

    Declaration

    Swift

    public var errorDescription: String?