Class TemplateErrorDetail

  • All Implemented Interfaces:

    
    public final class TemplateErrorDetail
    
                        

    Detailed information about a template rendering error.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getMessage() The error message
      final Integer getLineNumber() The line number where the error occurred (1-indexed), or null if unknown
      final Integer getStartPosition() The character position where the error starts, or null if unknown
      final String getFieldName() The name of the field that caused the error, or null if unknown
      final String getSeverity() The severity level of the error (e.g.
      final String format() Returns a formatted string representation of this error.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getLineNumber

         final Integer getLineNumber()

        The line number where the error occurred (1-indexed), or null if unknown

      • getStartPosition

         final Integer getStartPosition()

        The character position where the error starts, or null if unknown

      • getFieldName

         final String getFieldName()

        The name of the field that caused the error, or null if unknown

      • getSeverity

         final String getSeverity()

        The severity level of the error (e.g., "FATAL", "WARN")

      • format

         final String format()

        Returns a formatted string representation of this error.