예제 #1
0
 public OmmException(string message, OmmError errorCode, string info, string errorBad, int?errorMaxLength)
     : base($"{_messages[errorCode]}: '{message}'")
 {
     ErrorCode = errorCode;
     Info      = info;
     Bad       = errorBad;
     MaxLength = errorMaxLength;
 }
예제 #2
0
 public OmmException(OmmError errorCode, string info, string errorBad, int?errorMaxLength)
     : base(_messages[errorCode])
 {
     ErrorCode = errorCode;
     Info      = info;
     Bad       = errorBad;
     MaxLength = errorMaxLength;
 }