Inheritance: IProcessStage
Beispiel #1
0
 public Error(ErrorStage stage, string reason, string file, Exception exception) : this(stage, reason, file)
 {
     Exception = exception;
 }
Beispiel #2
0
 public Error(ErrorStage stage, string reason, string file) : this(stage, reason)
 {
     Path     = file;
     FileName = System.IO.Path.GetFileName(file);
 }
Beispiel #3
0
 /// <summary>
 /// Constructor for the Error class.
 /// </summary>
 /// <param name="stage">The execution the error happened at.</param>
 /// <param name="type">The type of error.</param>
 /// <param name="message">The error message.</param>
 public Error(ErrorStage stage, ErrorType type, string message)
 {
     this.Stage   = stage;
     this.Type    = type;
     this.Message = message;
 }
Beispiel #4
0
 public Error(ErrorStage stage, string reason)
 {
     Stage  = stage;
     Reason = reason;
 }
Beispiel #5
0
 // Calls the error callback
 public void Error(Exception e, ErrorStage stage)
 {
     _onError(e, stage);
 }