ValidationFailure

public struct ValidationFailure

Represents a validation failure while executing a FaunaDB query.

  • The position of the field that triggered the validation failure.

    Declaration

    Swift

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

    Declaration

    Swift

    public let code: String?
  • The description of the validation failure.

    Declaration

    Swift

    public let description: String?
  • Undocumented

    Declaration

    Swift

    public struct ValidationFailure
  • Declaration

    Swift

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

    Parameters

    lhs
    rhs