public ErrorCodeException( ErrorCode errorCode, object formattingObject = null) : base(errorCode.ToString()) { this.formattingObject = formattingObject; this.errorCode = errorCode; }
public ErrorCodeException(ErrorCode errorCode, string message, Exception inner, object formattingObject = null) : base(message, inner) { this.errorCode = errorCode; this.formattingObject = formattingObject; }
public ErrorCodeException(ErrorCode errorCode, Exception inner, object formattingObject = null) : this(errorCode, errorCode.ToString(), inner, formattingObject) { }