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 stringNetworkResponseModifier.Error (string, ErrorDescription, ErrorType)
public void Error(string mask, string ErrorDescription, ErrorTypes ErrorType)
Parameters
mask string ErrorDescription string ErrorType ErrorTypesNetworkResponseModifier.Error (string, ErrorDescription, ErrorType, int)
public void Error(string mask, string ErrorDescription, ErrorTypes ErrorType, int ErrorCode)
Parameters
mask string ErrorDescription string ErrorType ErrorTypes URLmask intExamples
NetworkResponseModifier. Error (“www.example.com/*”,”page not found”, errortypes.HTTP, 404)