QueryError

public enum QueryError : Error
extension QueryError: CustomStringConvertible

An enumeration of errors that may occur during query construction and execution.

  • An error connecting to the database.

    Declaration

    Swift

    case connection(String)
  • No result was received from the query execution.

    Declaration

    Swift

    case noResult(String)
  • The database generated an error for the query execution.

    Declaration

    Swift

    case databaseError(String)
  • A syntax error occurred while constructing the query.

    Declaration

    Swift

    case syntaxError(String)
  • The query or its execution is not supported.

    Declaration

    Swift

    case unsupported(String)
  • An error in transaction.

    Declaration

    Swift

    case transactionError(String)

QueryError

  • A String representation of the error.

    Declaration

    Swift

    public var description: String { get }