Ejemplo n.º 1
0
 /// <summary>
 /// Constructs a new error.
 /// </summary>
 /// <param name="status">The status code for the error.</param>
 /// <param name="message">The message for the error.</param>
 public EmitterError(EmitterEventCode status, string message)
 {
     this.Status  = (int)status;
     this.Message = message;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructs a new error.
 /// </summary>
 /// <param name="status">The status code for the error.</param>
 /// <param name="message">The message for the error.</param>
 public EmitterException(EmitterEventCode status, string message) : base(message)
 {
     this.Status = status;
 }