Warning:
Fauna is decommissioning FQL v4 on June 30, 2025.

This driver is not compatible with FQL v10, the latest version. Fauna accounts created after August 21, 2024 must use FQL v10.
Ensure you migrate existing projects to the official v10 driver by the v4 EOL date: https://github.com/fauna/fauna-jvm.

For more information, see the v4 end of life (EOL) announcement and related FAQ.

p

faunadb

errors

package errors

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class BadRequestException(response: Option[QueryErrorResponse], message: String) extends FaunaException with Product with Serializable

    An exception thrown if FaunaDB cannot evaluate a query.

  2. class FaunaException extends Exception
  3. case class InternalException(response: Option[QueryErrorResponse], message: String) extends FaunaException with Product with Serializable

    An exception thrown if FaunaDB responds with an HTTP 500.

    An exception thrown if FaunaDB responds with an HTTP 500. Such errors represent an internal failure within the database.

  4. case class NotFoundException(response: Option[QueryErrorResponse], message: String) extends FaunaException with Product with Serializable

    An exception thrown if FaunaDB responds with an HTTP 404 for non-query endpoints.

  5. case class PermissionDeniedException(response: Option[QueryErrorResponse], message: String) extends FaunaException with Product with Serializable

    An exception thrown if FaunaDB responds with an HTTP 403.

  6. case class ResourceNotAvailableException(response: Option[QueryErrorResponse], message: String) extends FaunaException with Product with Serializable

    Exception thrown if FaunaDB responds with an HTTP 410.

    Exception thrown if FaunaDB responds with an HTTP 410. One example of this is if an account is disabled.

  7. case class StreamingException(message: String) extends FaunaException with Product with Serializable
  8. case class TooManyRequestsException(response: Option[QueryErrorResponse], message: String) extends FaunaException with Product with Serializable

    An exception thrown if FaunaDB responds with an HTTP 429, meaning the request was throttled.

  9. case class TransactionContentionException(response: Option[QueryErrorResponse], message: String) extends FaunaException with Product with Serializable

    An exception thrown if FaunaDB responds with an HTTP 409.

  10. case class UnauthorizedException(response: Option[QueryErrorResponse], message: String) extends FaunaException with Product with Serializable

    An exception thrown if FaunaDB responds with an HTTP 401.

  11. case class UnavailableException(response: Option[QueryErrorResponse], message: String, cause: Throwable) extends FaunaException with Product with Serializable

    An exception thrown if FaunaDB responds with an HTTP 503.

    An exception thrown if FaunaDB responds with an HTTP 503. Such errors represent that the FaunaDB service was unavailable.

  12. case class UnknownException(response: Option[QueryErrorResponse], message: String, cause: Throwable) extends FaunaException with Product with Serializable

Value Members

  1. object FaunaException extends Serializable

Ungrouped