public class GqlRequestException extends RuntimeException
GraphQLError
values in the response as a type-safe list of GqlError
from getErrors()
. The query result data,
if available, is also type-safely accessible from getResult(Class)
.Constructor and Description |
---|
GqlRequestException(manifold.rt.api.Bindings response) |
Modifier and Type | Method and Description |
---|---|
List<GqlError> |
getErrors() |
String |
getMessage() |
<E> E |
getResult(Class<E> resultType) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public GqlRequestException(manifold.rt.api.Bindings response)
Copyright © 2024. All rights reserved.