Class ErrorOr<T>

java.lang.Object
io.smallrye.graphql.client.typesafe.api.ErrorOr<T>
Direct Known Subclasses:
TypesafeResponse

public class ErrorOr<T> extends Object
Like an Optional, but the value can be null and instead of a value, there can be a List of GraphQLErrors instead. There can be the paradox situation that there is a value as well as errors, but this is what a GraphQL service could theoretically return!