NetworkResponseModifier.Error Method

Definition

Generates the error with the specified error type. The error will be processed by alert notification rules.

Overloads

NetworkResponseModifier.Error (string mask)

public void OK(string mask, string ErrorDescription)

Parameters

 mask  string

 ErrorDescription  string

NetworkResponseModifier.Error (string, ErrorDescription, ErrorType)

public void Error(string mask, string ErrorDescription, ErrorTypes ErrorType)

Parameters

 mask  string

 ErrorDescription  string

 ErrorType  ErrorTypes

NetworkResponseModifier.Error (string, ErrorDescription, ErrorType, int)

public void Error(string mask, string ErrorDescription, ErrorTypes ErrorType, int ErrorCode)

Parameters

 mask  string

 ErrorDescription  string

 ErrorType  ErrorTypes

 URLmask  int

Examples

NetworkResponseModifier. Error (“www.example.com/*”,”page not found”, errortypes.HTTP, 404)