Class ErrorValue


  • @Internal
    public abstract class ErrorValue
    extends CelValue
    CelErrorValue represent the intermediate error that occurs during evaluation in the form of Java exception. This is used to capture the error that occurs during a non-strict evaluation, which may or may not be propagated to the caller.

    CEL Library Internals. Do Not Use.

    • Constructor Detail

      • ErrorValue

        public ErrorValue()
    • Method Detail

      • value

        public abstract java.lang.Exception value()
        Description copied from class: CelValue
        The underlying value. This is typically the Java native value or a derived instance of CelValue (ex: an element in lists or key/value pair in maps).
        Specified by:
        value in class CelValue
      • celType

        public CelType celType()
        Description copied from class: CelValue
        The CelType that represents this value.
        Specified by:
        celType in class CelValue
      • create

        public static ErrorValue create​(java.lang.Exception value)