package errors
- Alphabetic
- Public
- All
Type Members
-
case class
BadRequestException(response: Option[QueryErrorResponse], message: String) extends FaunaException with Product with Serializable
An exception thrown if FaunaDB cannot evaluate a query.
- class FaunaException extends Exception
-
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.
-
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.
-
case class
PermissionDeniedException(response: Option[QueryErrorResponse], message: String) extends FaunaException with Product with Serializable
An exception thrown if FaunaDB responds with an HTTP 403.
- case class StreamingException(message: String) extends FaunaException with Product with Serializable
-
case class
TransactionContentionException(response: Option[QueryErrorResponse], message: String) extends FaunaException with Product with Serializable
An exception thrown if FaunaDB responds with an HTTP 409.
-
case class
UnauthorizedException(response: Option[QueryErrorResponse], message: String) extends FaunaException with Product with Serializable
An exception thrown if FaunaDB responds with an HTTP 401.
-
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.
- case class UnknownException(response: Option[QueryErrorResponse], message: String, cause: Throwable) extends FaunaException with Product with Serializable
Value Members
- object FaunaException extends Serializable