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.
public class FaunaException
extends java.lang.RuntimeException
Constructor and Description |
---|
FaunaException(HttpResponses.QueryErrorResponse response) |
FaunaException(java.lang.String message) |
FaunaException(java.lang.String message,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
java.util.List<HttpResponses.QueryError> |
errors()
Gets the list of errors that caused the query to fail.
|
int |
status()
Gets the HTTP status code of the underlying error response.
|
public FaunaException(HttpResponses.QueryErrorResponse response)
public FaunaException(java.lang.String message)
public FaunaException(java.lang.String message, java.lang.Throwable cause)
public java.util.List<HttpResponses.QueryError> errors()
public int status()