port from perforce

This commit is contained in:
2026-04-18 22:31:51 +02:00
commit 8d0ab5b7cc
8409 changed files with 3972376 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
using System;
namespace Intromat.Model.Compiler.Error
{
public class CompilerException : Exception
{
public CompilerException(string msg) : base(msg)
{
}
public CompilerException(string msg, Exception inner) : base(msg, inner)
{
}
}
}

View File

@@ -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; }
}
}