MustacheException

Exception that can be thrown by a Mustache template.

Extends: BadRequestException

Description

The MustacheException class defines an exception that can be thrown by a Mustache template.

Constructors

Creates a new instance of the MustacheException class.

public constructor(context: IContext, code: string, message: string, line: number, column: number)

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