MustacheError

Error that can be thrown by a Mustache template.

Description

The MustacheError class defines an error that can be thrown by a Mustache template.

Constructors

NewMustacheError

Creates a new instance of this class.

NewMustacheError(traceId, code, message string, line, column int) *ApplicationError

  • context: IContext - a context to trace execution through a call chain.
  • code: string - code
  • message: string - human-readable message
  • line: int - line number
  • column: int - column number