OpenSim.Region.ScriptEngine.Shared.Api.LSL_Api.NotImplemented C# (CSharp) Method

NotImplemented() private method

Reports that the command is not implemented as a script error.
private NotImplemented ( string command, string message = "" ) : void
command string The name of the command that is not implemented.
message string Additional information to report to the user. (Optional)
return void
        internal void NotImplemented(string command, string message = "")
        {
            if (throwErrorOnNotImplemented)
            {
                if (message != "")
                {
                    message = " - " + message;
                }

                throw new NotImplementedException("Command not implemented: " + command + message);
            }
            else
            {
                string text = "Command not implemented";
                if (message != "")
                {
                    text = text + " - " + message;
                }

                Error(command, text);
            }
        }
LSL_Api