Bracket.Events.BracketEvent.PublishError C# (CSharp) Method

PublishError() public static method

public static PublishError ( object eventSource, Exception error ) : void
eventSource object
error System.Exception
return void
        public static void PublishError(object eventSource,Exception error)
        {
            Event(eventSource,
                  new BracketEvent
                      {
                          EventType = BracketEventType.Error,
                          Error = error,
                          EventDescription = error.ToString(),
                          EventName = BracketEvents.Exception
                      });
        }