Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ErrorHandler

Handle the error handlers.

export
class

ErrorHandler

Hierarchy

  • ErrorHandler

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private vars

The available variables, defined by the Syntax class.

type

{ISyntaxVariable}

memberof

ErrorHandler

Methods

Private getVarName

  • getVarName(variable: string): string
  • Get the variable name from the variable found within the template file.

    memberof

    ErrorHandler

    Parameters

    • variable: string

      The variable as it was found within the template file.

    Returns string

    The variables name.

handle

  • handle(text: string): string
  • Search for errors and handles them.

    memberof

    ErrorHandler

    Parameters

    • text: string

      The text to search for error from.

    Returns string

    The string after error have been handles.

Generated using TypeDoc