예제 #1
0
 public Error(string status, string title, ErrorMeta meta = null, string source = null)
 {
     Status = status;
     Title  = title;
     Meta   = meta;
     Source = source;
 }
예제 #2
0
 public Error(int status, string title, ErrorMeta meta = null, string source = null)
 {
     Status = status.ToString();
     Title  = title;
     Meta   = meta;
     Source = source;
 }
예제 #3
0
 public Error(int status, string title, string detail, ErrorMeta meta = null, object source = null)
 {
     Status = status.ToString();
     Title  = title;
     Detail = detail;
     Meta   = meta;
     Source = source;
 }