public YandexDirectException(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     ErrorCode = (YandexApiErrorCode)info.GetInt32("ErrorCode");
 }
 public YandexDirectException(YandexApiErrorCode errorCode, string message)
     : base(message)
 {
     ErrorCode = errorCode;
 }
 public YandexDirectException(YandexApiErrorCode errorCode, string message)
     : base(message)
 {
     ErrorCode = errorCode;
 }