wsp-10212 fixed: option set deatiled error mode on web site
This commit is contained in:
parent
0a16e252c9
commit
aa4db51dd5
7 changed files with 133 additions and 34 deletions
|
@ -34,8 +34,25 @@ using System.ComponentModel;
|
|||
|
||||
namespace WebsitePanel.Providers.Web
|
||||
{
|
||||
public class HttpError
|
||||
public enum HttpErrorsMode
|
||||
{
|
||||
DetailedLocalOnly = 0,
|
||||
Custom = 1,
|
||||
Detailed = 2
|
||||
}
|
||||
|
||||
public enum HttpErrorsExistingResponse
|
||||
{
|
||||
Auto = 0,
|
||||
Replace = 1,
|
||||
PassThrough = 2
|
||||
}
|
||||
|
||||
public class HttpError
|
||||
{
|
||||
public const HttpErrorsMode DefaultHttpErrorsMode = HttpErrorsMode.DetailedLocalOnly;
|
||||
public const HttpErrorsExistingResponse DefaultHttpErrorsExistingResponse = HttpErrorsExistingResponse.Auto;
|
||||
|
||||
private string errorCode;
|
||||
private string errorSubcode;
|
||||
private string handlerType;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue