public class GqlRequestException
extends java.lang.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 |
|---|---|
java.util.List<GqlError> |
getErrors() |
java.lang.String |
getMessage() |
<E> E |
getResult(java.lang.Class<E> resultType) |
public GqlRequestException(manifold.rt.api.Bindings response)
public <E> E getResult(java.lang.Class<E> resultType)
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.util.List<GqlError> getErrors()
Copyright © 2023. All rights reserved.