/// <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; }
/// <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; }
public BaseError(BaseErrorCode errorCode, string errorMessage) { this.ErrorCode = (int)errorCode; this.errorMessage = errorMessage; }