Interface FunctionRegistrationError

All Known Implementing Classes:
FunctionRegistrationError.DuplicateName, FunctionRegistrationError.InvalidName

public sealed interface FunctionRegistrationError permits FunctionRegistrationError.InvalidName, FunctionRegistrationError.DuplicateName
An error in the function signatures given to JsonPathParser.withFunctions(List).
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Two functions have the same name.
    static final record 
    The name does not agree with the grammar rule function-name.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Returns a description of the error.
  • Method Details

    • message

      default String message()
      Returns a description of the error.
      Returns:
      a description of the error