Python.Runtime.Exceptions.warn C# (CSharp) Method

warn() public static method

public static warn ( string message, IntPtr exception ) : void
message string
exception IntPtr
return void
        public static void warn(string message, IntPtr exception)
        {
            warn(message, exception, 1);
        }

Same methods

Exceptions::warn ( string message, IntPtr exception, int stacklevel ) : void

Usage Example

Example #1
0
 static void ImportWarning(Exception exception)
 {
     Exceptions.warn(exception.ToString(), Exceptions.ImportWarning);
 }