LoggedException

Exception
public class LoggedException : Exception
An exception which automatically logs itself with the central Grasshopper logging object.

Constructors

LoggedException

#
public LoggedException(string context, string format, params object[] arguments)
Create a new logged exception.
context (string)Exception context.
format (string)Message format.
arguments (params object[])Message arguments.

LoggedException

#
public LoggedException(string context, string message)
Create a new logged exception.
context (string)Exception context.
message (string)Exception message.

Properties

Context

#
public string Context { get; }
Gets the context for this exception.