FaunaError

public class FaunaError: Error

Represents an error while executing a FaunaDB query. Reference

  • The error message.

    Declaration

    Swift

    public let message: String?
  • The HTTP status code.

    Declaration

    Swift

    public let status: Int?
  • The errors found by FaunDB while executing the query.

    Declaration

    Swift

    public let errors: [QueryError]
  • Declaration

    Swift

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

    Parameters

    lhs
    rhs
  • Declaration

    Swift

    public var description: String