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()