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