Table of Contents

Class TemplateRenderingException

Namespace
MailStencil
Assembly
MailStencil.Core.dll

An exceptional failure while projecting a model or executing a validated template.

public sealed class TemplateRenderingException : Exception, ISerializable
Inheritance
TemplateRenderingException
Implements
Inherited Members

Constructors

TemplateRenderingException(TemplateDiagnostic, Exception?)

Creates an execution failure with a structured diagnostic and optional underlying cause.

public TemplateRenderingException(TemplateDiagnostic diagnostic, Exception? innerException = null)

Parameters

diagnostic TemplateDiagnostic
innerException Exception

Properties

Diagnostic

Gets the component, code and location associated with the execution failure.

public TemplateDiagnostic Diagnostic { get; }

Property Value

TemplateDiagnostic