Click or drag to resize
HelperException Class
Represents the exception that is thrown for a HandlebarsDotNet.Mvc helper.
Inheritance Hierarchy
SystemObject
  SystemException
    HandlebarsDotNet.MvcHelperException

Namespace: HandlebarsDotNet.Mvc
Assembly: HandlebarsDotNet.Mvc (in HandlebarsDotNet.Mvc.dll) Version: 1.0.0-beta
Syntax
[SerializableAttribute]
public class HelperException : Exception
Constructors
  NameDescription
Public methodHelperException
Initializes a new instance of the HelperException class.
Public methodHelperException(String)
Initializes a new instance of the HelperException class with a specified error message.
Protected methodHelperException(SerializationInfo, StreamingContext)
Initializes a new instance of the HelperException class with serialized data.
Public methodHelperException(String, Exception)
Initializes a new instance of the HelperException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Top
Remarks
This exception is for example thrown for required arguments to the helper (like a path wasn't specified in a view file) but not for the arguments to the function that is part of the infrastructure for HandlebarsDotNet helpers (for example the TextWriter is ).
See Also