Class ResultWithPossibleError<T>

java.lang.Object
org.cqframework.cql.cql2elm.ResultWithPossibleError<T>

public class ResultWithPossibleError<T> extends Object
Indicate either a populated result or the presence of an error that prevented the result from being created.
  • Method Details

    • withError

      public static <T> ResultWithPossibleError<T> withError()
    • withTypeSpecifier

      public static <T> ResultWithPossibleError<T> withTypeSpecifier(T underlyingThingOrNull)
    • hasError

      public boolean hasError()
    • getUnderlyingResultIfExists

      public T getUnderlyingResultIfExists()