Package jsonvalues

Class UserError

  • All Implemented Interfaces:
    Serializable

    public final class UserError
    extends RuntimeException
    Exception that models a programming error made by the user. The user has a bug in their code and something has to be fixed. Part of the exception message is a suggestion to fix the bug.
    See Also:
    Serialized Form
    • Method Detail

      • pathHeadIsNotAnIndex

        public static UserError pathHeadIsNotAnIndex​(JsPath path)
      • pathHeadIsNotAKey

        public static UserError pathHeadIsNotAKey​(JsPath path)