daily update on 20250210 by nitload youmu
This commit is contained in:
@@ -46,30 +46,28 @@ namespace StgSharp.Script.Express
|
||||
|
||||
public class ExpInvalidCharException : Exception
|
||||
{
|
||||
public ExpInvalidCharException(char c) :
|
||||
base($"An unknown char {c} occurred.")
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public ExpInvalidCharException( char c )
|
||||
: base( $"An unknown char {c} occurred." ) { }
|
||||
|
||||
}
|
||||
|
||||
public class ExpInvalidTokenException : Exception
|
||||
{
|
||||
public ExpInvalidTokenException(int index) :
|
||||
base($"Cannot read a token from line at {index}")
|
||||
{
|
||||
|
||||
}
|
||||
public ExpInvalidTokenException( int index )
|
||||
: base( $"Cannot read a token from line at {index}" ) { }
|
||||
|
||||
}
|
||||
|
||||
public class ExpInvalidTypeDeclareEndingExceptions : Exception
|
||||
{
|
||||
|
||||
public ExpInvalidTypeDeclareEndingExceptions(
|
||||
string declaredName,
|
||||
string endedName )
|
||||
: base(
|
||||
$"The datatype is declared with name {declaredName} " +
|
||||
$"but ended with {endedName}" ) { }
|
||||
$"The datatype is declared with name {declaredName} " + $"but ended with {endedName}" ) { }
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user