Пример #1
0
 ClaimException(ClaimOpKind kind, string msg, string caller, string file, int?line)
     : base($"fail({msg})", caller, file, line)
 {
     this.OpKind = kind;
 }
Пример #2
0
 ClaimException(ClaimOpKind kind, AppMsg msg)
     : base(msg.WithPrependedContent("fail(").WithAppendedContent(")"))
 {
     this.OpKind = kind;
 }
Пример #3
0
 public static ClaimException Define(ClaimOpKind op, string msg, string caller, string file, int?line)
 => new ClaimException(op, msg, caller, file, line);
Пример #4
0
 public static ClaimException Define(ClaimOpKind op, AppMsg msg)
 => new ClaimException(op, msg);
Пример #5
0
 static ClaimException failed(ClaimOpKind op, string msg, string caller, string file, int?line)
 => ClaimException.Define(op, msg, caller, file, line);
Пример #6
0
 public static ClaimException failed(ClaimOpKind op, AppMsg msg)
 => ClaimException.Define(op, msg);