QueryError

public struct QueryError

Represents an error found by FaunaDB while executing a query.

  • The position of the field containing the error.

    Declaration

    Swift

    public let position: [String]
  • The FaunaDB error code.

    Declaration

    Swift

    public let code: String?
  • The description of the error found.

    Declaration

    Swift

    public let description: String?
  • A list of validation failures that occurred during the query execution.

    Declaration

    Swift

    public let failures: [ValidationFailure]
  • Undocumented

    Declaration

    Swift

    public struct QueryError
  • Declaration

    Swift

    public static func == (left: QueryError, right: QueryError) -> Bool

    Parameters

    lhs
    rhs