NPLMono.NPLLex.ThrowError C# (CSharp) Method

ThrowError() public static method

public static ThrowError ( LexState ls, string errorMsg ) : void
ls LexState
errorMsg string
return void
        public static void ThrowError(LexState ls, string errorMsg)
        {
            ls.bSucceed = false;
            throw new Exception(errorMsg);
        }