Error
enum Error : Swift.Error, LocalizedError, Equatable
Generic Error types for MeiliSearch,
-
The client tried to contact the server but it was not found.
Declaration
Swift
case serverNotFound
-
The client was able to connect the server, send the data nothing returned.
Declaration
Swift
case dataNotFound
-
You custom host is invalid.
Declaration
Swift
case hostNotValid
-
The input or output JSON is invalid.
Declaration
Swift
case invalidJSON
-
Undocumented
Declaration
Swift
case timeOut(timeOut: Double)
-
Undocumented
Declaration
Swift
case invalidURL(url: String? = "")
-
Undocumented
Declaration
Swift
case meiliSearchApiError(message: String, msErrorResponse: MSErrorResponse?, statusCode: Int = 0, url: String = "")
-
Error communicating with MeiliSearch API.
Declaration
Swift
case meiliSearchCommunicationError(message: String, url: String)
-
Declaration
Swift
public var errorDescription: String? { get }