Skip to content

Commit

Permalink
Add 'innerException' constructor to TemplateException (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertospelta committed Nov 8, 2023
1 parent 8bc9897 commit f0e9e6d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Dax.Template/Exceptions/TemplateException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ public TemplateException(string message)
: base(message)
{
}

public TemplateException(string message, Exception innerException)
: base(message, innerException)
{
}
}

public class TemplateConfigurationException : TemplateException
Expand All @@ -21,6 +26,11 @@ public TemplateConfigurationException(string message)
: base(message)
{
}

public TemplateConfigurationException(string message, Exception innerException)
: base(message, innerException)
{
}
}

public class TemplateUnexpectedException : Exception
Expand Down

0 comments on commit f0e9e6d

Please sign in to comment.