Esempio n. 1
0
 public static ErrorDetailsOptions EnableStackTraceIteration(this ErrorDetailsOptions options, bool value = true)
 {
     options.StackTraceProcessing = value;
     return(options);
 }
Esempio n. 2
0
 public static ErrorDetailsOptions EnableUnspecificyErrorMessages(this ErrorDetailsOptions options, bool value = true)
 {
     options.UnspecificyErrorMessages = value;
     return(options);
 }
Esempio n. 3
0
 public static ErrorDetailsOptions ErrorDetailFilter <TFilter>(this ErrorDetailsOptions options)
     where TFilter : class, IErrorDetailFilter
 {
     options.Filters.Add(new ErrorDetailFilterDescriptor(typeof(TFilter)));
     return(options);
 }
Esempio n. 4
0
 public static ErrorDetailsOptions EnableInnerErrorsFromInnerExceptions(this ErrorDetailsOptions options, bool value = true)
 {
     options.InnerErrorsFromInnerExceptions = value;
     return(options);
 }