Class NonNullableFieldWasNullException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
graphql.execution.NonNullableFieldWasNullException
All Implemented Interfaces:
Serializable

public class NonNullableFieldWasNullException extends RuntimeException
See (https://spec.graphql.org/October2021/#sec-Errors-and-Non-Nullability), but if a non nullable field actually resolves to a null value and the parent type is nullable then the parent must in fact become null so we use exceptions to indicate this special case
See Also: