Skip to content

Commit 8fa9b51

Browse files
committed
migrated FunctionDefinitionNotFoundException to exceptions.cs
1 parent 76f1e7f commit 8fa9b51

File tree

1 file changed

+17
-0
lines changed
  • src/PowerShellEditorServices/Services/PowerShell/Refactoring

1 file changed

+17
-0
lines changed

src/PowerShellEditorServices/Services/PowerShell/Refactoring/Exceptions.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,21 @@ public TargetVariableIsDotSourcedException(string message, Exception inner)
3838
{
3939
}
4040
}
41+
42+
public class FunctionDefinitionNotFoundException : Exception
43+
{
44+
public FunctionDefinitionNotFoundException()
45+
{
46+
}
47+
48+
public FunctionDefinitionNotFoundException(string message)
49+
: base(message)
50+
{
51+
}
52+
53+
public FunctionDefinitionNotFoundException(string message, Exception inner)
54+
: base(message, inner)
55+
{
56+
}
57+
}
4158
}

0 commit comments

Comments
 (0)