Class ErrorOr<T>


  • public final class ErrorOr<T>
    extends Object
    Like an Optional, but if a value is not present, there is 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!