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 RuntimeException
| Constructor and Description |
|---|
FaunaException(HttpResponses.QueryErrorResponse response) |
FaunaException(String message) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableList<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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FaunaException(HttpResponses.QueryErrorResponse response)
public FaunaException(String message)
public ImmutableList<HttpResponses.QueryError> errors()
public int status()