port from perforce
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
namespace Intromat.Model.Compiler.Error
|
||||
{
|
||||
public class VariableOutOfScopeException : CompilerException
|
||||
{
|
||||
public VariableOutOfScopeException(string variableName)
|
||||
: base($"The variable '{variableName}' was referenced outside its scope.")
|
||||
{
|
||||
VariableName = variableName;
|
||||
}
|
||||
|
||||
public string VariableName { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user