Class MustacheException.Context

All Implemented Interfaces:
Serializable
Enclosing class:
MustacheException

public static class MustacheException.Context extends MustacheException
An exception thrown if we encounter a context error (e.g. a missing variable) while compiling or executing a template.
See Also:
  • Field Details

    • key

      public final String key
      The key that caused the problem.
    • lineNo

      public final int lineNo
      The line number of the template on which the problem occurred.
  • Constructor Details