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