Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExceptionParams"/> class.
 /// </summary>
 /// <param name="errorList">
 /// The error list.
 /// </param>
 /// <param name="baseErrorCode">
 /// The base error code.
 /// </param>
 /// <param name="InnerException">
 /// The inner exception.
 /// </param>
 public ExceptionParams(List <string> errorList, BaseErrorCode baseErrorCode, External InnerException)
 {
     this.ErrorList      = errorList;
     this.BaseErrorCode  = baseErrorCode;
     this.InnerException = InnerException;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExceptionParams"/> class.
 /// </summary>
 /// <param name="errorList">
 /// The error list.
 /// </param>
 /// <param name="baseErrorCode">
 /// The base error code.
 /// </param>
 public ExceptionParams(List <string> errorList, BaseErrorCode baseErrorCode)
 {
     this.ErrorList     = errorList;
     this.BaseErrorCode = baseErrorCode;
 }
Ejemplo n.º 3
0
 public BaseError(BaseErrorCode errorCode, string errorMessage)
 {
     this.ErrorCode    = (int)errorCode;
     this.errorMessage = errorMessage;
 }